Move declaration of og_application_delegate() to the header.
This commit is contained in:
parent
16cb871e9d
commit
409a082498
3 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -41,3 +41,5 @@
|
||||||
og_application_delegate() { \
|
og_application_delegate() { \
|
||||||
return [cls class]; \
|
return [cls class]; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern Class og_application_delegate(void);
|
||||||
|
|
|
@ -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
|
||||||
//----------------------------------------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Reference in a new issue