File: Controller.h

package info (click to toggle)
gnustep-examples 1%3A1.2.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,952 kB
  • ctags: 270
  • sloc: objc: 14,381; makefile: 65
file content (26 lines) | stat: -rw-r--r-- 762 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#include <AppKit/NSDocumentController.h>

@interface Controller : NSDocumentController {
    id infoPanel;
}

/* NSApplication delegate methods */
- (BOOL)application:(NSApplication *)app openFile:(NSString *)filename;
- (BOOL)application:(NSApplication *)app openTempFile:(NSString *)filename;
- (BOOL)applicationOpenUntitledFile:(NSApplication *)app;
- (BOOL)applicationShouldTerminate:(NSApplication *)app;

/* Action methods */
- (void)createNew:(id)sender;
- (void)open:(id)sender;
- (void)saveAll:(id)sender;
- (void)showInfoPanel:(id)sender;

/* Outlet methods */
- (void)setVersionField:(id)anObject;	/* Fake; there's no outlet */

- (void)method:menuCell;							// temp for sake of menu

@end