2013-03-15 13:11:33 +00:00
|
|
|
@interface CocoaDelegate : NSObject <NSApplicationDelegate> {
|
|
|
|
}
|
2013-03-21 12:59:01 +00:00
|
|
|
-(NSApplicationTerminateReply) applicationShouldTerminate:(NSApplication*)sender;
|
|
|
|
-(BOOL) applicationShouldHandleReopen:(NSApplication*)application hasVisibleWindows:(BOOL)flag;
|
|
|
|
-(void) run:(NSTimer*)timer;
|
2013-04-09 13:31:46 +00:00
|
|
|
-(void) updateInDock:(NSTimer*)timer;
|
2013-03-15 13:11:33 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
namespace phoenix {
|
|
|
|
|
|
|
|
struct pApplication {
|
|
|
|
static void run();
|
|
|
|
static bool pendingEvents();
|
|
|
|
static void processEvents();
|
|
|
|
static void quit();
|
|
|
|
|
|
|
|
static void initialize();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|