@@ -25,11 +25,13 @@ #import "OFApplication.h" #import "OFString.h" #import "OFArray.h" #import "OFDictionary.h" #import "OFRunLoop.h" +#import "OFRunLoop+Private.h" #import "OFThread.h" +#import "OFThread+Private.h" #import "autorelease.h" #import "macros.h" #if defined(__MACH__) && !defined(OF_IOS) @@ -45,10 +47,20 @@ #ifdef _PSP # include # include #endif + +@interface OFApplication (OF_PRIVATE_CATEGORY) +- (void)OF_setArgumentCount: (int*)argc + andArgumentValues: (char**[])argv; +#ifdef _WIN32 +- (void)OF_setArgumentCount: (int)argc + andWideArgumentValues: (wchar_t*[])argv; +#endif +- (void)OF_run; +@end static OFApplication *app = nil; static void atexit_handler(void)