mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Quit application in applicationDidFinishLaunching:
This commit is contained in:
parent
06983ebcc9
commit
3f0f8b13a0
1 changed files with 7 additions and 1 deletions
|
@ -1,11 +1,17 @@
|
|||
#import "AppDelegate.h"
|
||||
#import <Foundation/NSNotification.h>
|
||||
#import <Foundation/NSProcessInfo.h>
|
||||
|
||||
#import "AppDelegate.h"
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
- (void) applicationDidFinishLaunching: (NSNotification *)n
|
||||
{
|
||||
NSLog(@"== gormtool");
|
||||
|
||||
NSLog(@"processInfo: %@", [NSProcessInfo processInfo]);
|
||||
|
||||
[NSApp terminate: nil];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue