this repo has no description
1/*
2 Project: crash
3
4 Author: lubos
5
6 Created: 2012-11-06 15:43:05 +0100 by lubos
7
8 Application Controller
9*/
10
11#import "AppController.h"
12
13@implementation AppController
14
15+ (void) initialize
16{
17 NSMutableDictionary *defaults = [NSMutableDictionary dictionary];
18
19 /*
20 * Register your app's defaults here by adding objects to the
21 * dictionary, eg
22 *
23 * [defaults setObject:anObject forKey:keyForThatObject];
24 *
25 */
26
27 [[NSUserDefaults standardUserDefaults] registerDefaults: defaults];
28 [[NSUserDefaults standardUserDefaults] synchronize];
29}
30
31- (id) init
32{
33 if ((self = [super init]))
34 {
35 }
36 return self;
37}
38
39- (void) dealloc
40{
41 [super dealloc];
42}
43
44- (void) awakeFromNib
45{
46}
47
48- (void) applicationDidFinishLaunching: (NSNotification *)aNotif
49{
50// Uncomment if your application is Renaissance-based
51// [NSBundle loadGSMarkupNamed: @"Main" owner: self];
52}
53
54- (BOOL) applicationShouldTerminate: (id)sender
55{
56 return YES;
57}
58
59- (void) applicationWillTerminate: (NSNotification *)aNotif
60{
61}
62
63- (BOOL) application: (NSApplication *)application
64 openFile: (NSString *)fileName
65{
66 return NO;
67}
68
69- (void) showPrefPanel: (id)sender
70{
71}
72
73@end