#import @protocol OGApplicationDelegate - (void)applicationDidFinishLaunching; @optional - (void)applicationWillTerminate; @end @interface OGApplication: OFObject { id delegate; } + (void)quit; @end #define OG_APPLICATION_DELEGATE(cls) \ Class \ og_application_delegate() { \ return [cls class]; \ }