File headers/OGApplication.h artifact ac83513858 part of check-in 31af425497
#include <gtk/gtk.h> #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]; \ }