Skip to content

Commit b7fcad4

Browse files
committed
2 parents 1b7cc44 + 6c00636 commit b7fcad4

5 files changed

Lines changed: 8 additions & 3 deletions

File tree

Modules/Projects/Application/Resources/AppController.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,26 @@
1717

1818
@interface AppController : NSObject
1919
{
20+
IBOutlet NSWindow *_window;
2021
}
2122

23+
// Class methods...
2224
+ (void) initialize;
2325

26+
// Initialization
2427
- (id) init;
2528
- (void) dealloc;
26-
2729
- (void) awakeFromNib;
2830

31+
// Notification methods...
2932
- (void) applicationDidFinishLaunching: (NSNotification *)aNotif;
3033
- (BOOL) applicationShouldTerminate: (id)sender;
3134
- (void) applicationWillTerminate: (NSNotification *)aNotif;
3235
- (BOOL) application: (NSApplication *)application
3336
openFile: (NSString *)fileName;
3437

35-
- (void) showPrefPanel: (id)sender;
38+
// Actions...
39+
- (IBAction) showPrefPanel: (id)sender;
3640

3741
@end
3842

Modules/Projects/Application/Resources/AppController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ - (BOOL) application: (NSApplication *)application
6666
return NO;
6767
}
6868

69-
- (void) showPrefPanel: (id)sender
69+
- (IBAction) showPrefPanel: (id)sender
7070
{
7171
}
7272

Modules/Projects/Application/Resources/Main.gorm/data.classes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"showPrefPanel:"
66
);
77
Outlets = (
8+
"_window"
89
);
910
Super = NSObject;
1011
};
0 Bytes
Binary file not shown.
701 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)