summaryrefslogblamecommitdiff
path: root/src/lib/ecore_cocoa/ecore_cocoa_app.h
blob: bc2bbd8654af381327498ee4f03fcbfc82ddd3ce (plain) (tree)
1
2
3
4
5
6
7
8
9



                        

                                             

                                                  
                        




















                                                                     
#import <Cocoa/Cocoa.h>
#include "Ecore_Cocoa.h"
#include <Ecore.h>

#define ECORE_COCOA_MAINLOOP_PERIOD ( 0.0166)

@interface Ecore_Cocoa_Application : NSApplication
{
   Ecore_Timer  *_timer;
   NSDate       *_expiration;
}

- (NSDate *)eventExpirationDate;

+ (Ecore_Cocoa_Application *)sharedApplication;
- (void)run;
- (void)sendEvent:(NSEvent *)anEvent;
- (id)init;
- (void)internalUpdate;

@end


@interface Ecore_Cocoa_AppDelegate : NSObject <NSApplicationDelegate>

+ (Ecore_Cocoa_AppDelegate *)appDelegate;
- (id)init;

@end