2023-06-03 23:34:09 +00:00
|
|
|
// main.m
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
2023-06-05 01:03:21 +00:00
|
|
|
#import <AppKit/AppKit.h>
|
2023-06-03 23:34:09 +00:00
|
|
|
|
|
|
|
#import <GormCore/GormCore.h>
|
|
|
|
#import <InterfaceBuilder/InterfaceBuilder.h>
|
|
|
|
|
2023-06-05 01:03:21 +00:00
|
|
|
#import "AppDelegate.h"
|
|
|
|
|
|
|
|
|
2023-06-03 23:34:09 +00:00
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
2023-06-05 01:03:21 +00:00
|
|
|
NSApplication *app = [NSApplication sharedApplication];
|
|
|
|
AppDelegate *delegate = [[AppDelegate alloc] init];
|
|
|
|
extern char **environ;
|
|
|
|
|
|
|
|
[NSProcessInfo initializeWithArguments: (char **)argv
|
|
|
|
count: argc
|
|
|
|
environment: environ];
|
|
|
|
|
|
|
|
[app setDelegate: delegate];
|
|
|
|
[app run];
|
|
|
|
|
2023-06-03 23:34:09 +00:00
|
|
|
return 0;
|
|
|
|
}
|