| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
#ifndef _PCAPPPROJ_APPCONTROLLER_H |
| 12 |
#define _PCAPPPROJ_APPCONTROLLER_H |
| 13 |
|
| 14 |
#import <AppKit/AppKit.h> |
| 15 |
|
| 16 |
@class YCodeWindowController; |
| 17 |
|
| 18 |
@interface AppController : NSObject |
| 19 |
{ |
| 20 |
YCodeWindowController *windowController; |
| 21 |
} |
| 22 |
|
| 23 |
+ (void) initialize; |
| 24 |
|
| 25 |
- (id) init; |
| 26 |
- (void) dealloc; |
| 27 |
|
| 28 |
- (void) awakeFromNib; |
| 29 |
|
| 30 |
- (void) applicationDidFinishLaunching: (NSNotification *)aNotif; |
| 31 |
- (BOOL) applicationShouldTerminate: (id)sender; |
| 32 |
- (void) applicationWillTerminate: (NSNotification *)aNotif; |
| 33 |
- (BOOL) application: (NSApplication *)application |
| 34 |
openFile: (NSString *)fileName; |
| 35 |
|
| 36 |
- (void) showPrefPanel: (id)sender; |
| 37 |
- (IBAction) openProject: (id)sender; |
| 38 |
|
| 39 |
@end |
| 40 |
|
| 41 |
#endif |