Artifact b05fc0e5fc1675a472ae4260b1c7d2c3c9d088595a2e482b575d69383b8201c3:
- File headers/OGApplication.h — part of check-in [0eb302cf0f] at 2012-01-05 01:17:35 on branch trunk — Make it possible to use different toolkits by adding #ifdefs. (user: js, size: 388) [annotate] [blame] [check-ins using]
#import <ObjFW/ObjFW.h> @protocol OGApplicationDelegate <OFObject> - (void)applicationDidFinishLaunching; @optional - (void)applicationWillTerminate; @end @interface OGApplication: OFObject <OFApplicationDelegate> { id <OFApplicationDelegate> delegate; } + (void)quit; @end #define OG_APPLICATION_DELEGATE(cls) \ Class \ og_application_delegate() { \ return [cls class]; \ }