diff --git a/Modules/Projects/Application/Resources/AppController.h b/Modules/Projects/Application/Resources/AppController.h index 0e4a702b..f077f0ce 100644 --- a/Modules/Projects/Application/Resources/AppController.h +++ b/Modules/Projects/Application/Resources/AppController.h @@ -17,22 +17,26 @@ @interface AppController : NSObject { + IBOutlet NSWindow *_window; } +// Class methods... + (void) initialize; +// Initialization - (id) init; - (void) dealloc; - - (void) awakeFromNib; +// Notification methods... - (void) applicationDidFinishLaunching: (NSNotification *)aNotif; - (BOOL) applicationShouldTerminate: (id)sender; - (void) applicationWillTerminate: (NSNotification *)aNotif; - (BOOL) application: (NSApplication *)application openFile: (NSString *)fileName; -- (void) showPrefPanel: (id)sender; +// Actions... +- (IBAction) showPrefPanel: (id)sender; @end diff --git a/Modules/Projects/Application/Resources/AppController.m b/Modules/Projects/Application/Resources/AppController.m index 8cf4cb2a..6f6c78db 100644 --- a/Modules/Projects/Application/Resources/AppController.m +++ b/Modules/Projects/Application/Resources/AppController.m @@ -66,7 +66,7 @@ - (BOOL) application: (NSApplication *)application return NO; } -- (void) showPrefPanel: (id)sender +- (IBAction) showPrefPanel: (id)sender { } diff --git a/Modules/Projects/Application/Resources/Main.gorm/data.classes b/Modules/Projects/Application/Resources/Main.gorm/data.classes index ec051bf6..4865c94d 100644 --- a/Modules/Projects/Application/Resources/Main.gorm/data.classes +++ b/Modules/Projects/Application/Resources/Main.gorm/data.classes @@ -5,6 +5,7 @@ "showPrefPanel:" ); Outlets = ( + "_window" ); Super = NSObject; }; diff --git a/Modules/Projects/Application/Resources/Main.gorm/data.info b/Modules/Projects/Application/Resources/Main.gorm/data.info index 63614359..70a46922 100644 Binary files a/Modules/Projects/Application/Resources/Main.gorm/data.info and b/Modules/Projects/Application/Resources/Main.gorm/data.info differ diff --git a/Modules/Projects/Application/Resources/Main.gorm/objects.gorm b/Modules/Projects/Application/Resources/Main.gorm/objects.gorm index cb148d6a..5db19ae3 100644 Binary files a/Modules/Projects/Application/Resources/Main.gorm/objects.gorm and b/Modules/Projects/Application/Resources/Main.gorm/objects.gorm differ