I'm working on a video sharing application that can load plugins that share to different places (Youtube, Twitvid, Facebook, etc.) I have a plugin that reads in a custom file type. We'll call it a .foo file with some information about the video being shared. So I put this foo UTI type in the imported UTI type section of the plugin bundle's Info.plist.
If I understand correctly, Launch Services looks through the Info.plist and registers the imported and exported UTI types of an app when it opens.
How can I get launch services to register my custom UTI types when it loads the plugin? Is there an api call I can make to have the plugin register those itself?