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)



    Part II: API Quick Reference
    Chapter 13. Foundation Classes