mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-24 04:02:00 +00:00
28 lines
572 B
Mathematica
28 lines
572 B
Mathematica
|
#include <Foundation/Foundation.h>
|
||
|
#include <AppKit/AppKit.h>
|
||
|
#include <Renaissance/Renaissance.h>
|
||
|
#include "AppController.h"
|
||
|
|
||
|
|
||
|
/*
|
||
|
* Initialise and go!
|
||
|
*/
|
||
|
|
||
|
int main(int argc, const char *argv[])
|
||
|
{
|
||
|
CREATE_AUTORELEASE_POOL (pool);
|
||
|
[NSApplication sharedApplication];
|
||
|
[NSApp setDelegate: [AppController new]];
|
||
|
|
||
|
#ifdef GNUSTEP
|
||
|
[NSBundle loadGSMarkupNamed: @"MainMenu-GNUstep" owner: [NSApp delegate]];
|
||
|
#else
|
||
|
[NSBundle loadGSMarkupNamed: @"MainMenu-OSX" owner: [NSApp delegate]];
|
||
|
#endif
|
||
|
|
||
|
|
||
|
RELEASE (pool);
|
||
|
return NSApplicationMain (argc, argv);
|
||
|
|
||
|
}
|