mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-23 20:01:05 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/branches/UNSTABLE_0_4@18033 72102866-910b-0410-8b05-ffd578937521
27 lines
572 B
Objective-C
27 lines
572 B
Objective-C
#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);
|
|
|
|
}
|