Line data Source code
1 0 : #import "OOCocoa.h" 2 : #import "OOLoggingExtended.h" 3 : #import "OODebugFlags.h" 4 : 5 : 6 : #ifndef NDEBUG 7 0 : NSUInteger gDebugFlags = 0; 8 : #endif 9 : 10 : /** 11 : * \ingroup cli 12 : * Entry point for MacOS. Initializes logging and runs NSApplicationMain. 13 : * 14 : * @param argc the number of command line arguments 15 : * @param argv the string array values of the command line arguments 16 : * @return whatever NSApplicationMain returns 17 : */ 18 1 : int main(int argc, const char *argv[]) 19 : { 20 : OOLoggingInit(); 21 : return NSApplicationMain(argc, argv); 22 : } 23 :