DekGenius.com
[ Team LiB ] Previous Section Next Section

12.2 Applications

These functions are used for various application level tasks, such as loading and running an application, and managing the Services menu for an application.

NSApplicationLoad

BOOL NSApplicationLoad(void)

NSApplicationMain

int NSApplicationMain(int argc, const char *argv[ ])

NSPerformService

BOOL NSPerformService(NSString *itemName, NSPasteboard *pboard)

NSRegisterServicesProvider

void NSRegisterServicesProvider(id provider, NSString *name)

NSShowsServicesMenuItem

BOOL NSShowsServicesMenuItem(NSString * itemName)

NSSetShowsServicesMenuItem

int NSSetShowsServicesMenuItem(NSString * itemName, BOOL enabled)

NSUnRegisterServicesProvider

void NSUnRegisterServicesProvider(NSString *name)

NSUpdateDynamicServices

void NSUpdateDynamicServices(void)

    [ Team LiB ] Previous Section Next Section