Move declaration of og_application_delegate() to the header.

This commit is contained in:
Jonathan Schleifer 2012-01-08 15:06:04 +01:00
parent 16cb871e9d
commit 409a082498
3 changed files with 2 additions and 3 deletions

View file

@ -26,8 +26,6 @@
OF_APPLICATION_DELEGATE(OGApplication) OF_APPLICATION_DELEGATE(OGApplication)
extern Class og_application_delegate(void);
@implementation OGApplication @implementation OGApplication
+ (void)quit + (void)quit
{ {

View file

@ -41,3 +41,5 @@
og_application_delegate() { \ og_application_delegate() { \
return [cls class]; \ return [cls class]; \
} }
extern Class og_application_delegate(void);

View file

@ -36,7 +36,6 @@ LRESULT CALLBACK win32_OGWndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpar
@end @end
//================================================================================================================================== //==================================================================================================================================
OF_APPLICATION_DELEGATE(OGApplication) OF_APPLICATION_DELEGATE(OGApplication)
extern Class og_application_delegate(void);
//================================================================================================================================== //==================================================================================================================================
@implementation OGApplication @implementation OGApplication
//---------------------------------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------------------------------