mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 05:01:26 +00:00
5ff1de398e
treat Forge like an entirely new program, and not as a port. I'll still be using many of the ideas from QuakeEd (and from my old Forge work), but there's no promise that it'll be a duplicate, or even similar.
29 lines
962 B
Objective-C
29 lines
962 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface Controller: NSObject
|
|
{
|
|
@public
|
|
}
|
|
|
|
// App delegate methods
|
|
- (BOOL) application: (NSApplication *) app openFile: (NSString *) filename;
|
|
- (BOOL) application: (NSApplication *) app openTempFile: (NSString *) filename;
|
|
- (BOOL) applicationOpenUntitledFile: (NSApplication *) app;
|
|
- (BOOL) applicationShouldOpenUntitledFile: (NSApplication *) app;
|
|
- (BOOL) applicationShouldTerminate: (NSApplication *) app;
|
|
- (BOOL) applicationShouldTerminateAfterLastWindowClosed: (NSApplication *) app;
|
|
|
|
// Notifications
|
|
- (void) applicationDidFinishLaunching: (NSNotification *) not;
|
|
- (void) applicationWillFinishLaunching: (NSNotification *) not;
|
|
- (void) applicationWillTerminate: (NSNotification *) not;
|
|
|
|
// Action methods
|
|
- (void) createNew: (id) sender;
|
|
- (void) createNewProject: (id) sender;
|
|
- (void) infoPanel: (id) sender;
|
|
- (void) open: (id) sender;
|
|
- (void) openProject: (id) sender;
|
|
- (void) saveAll: (id) sender;
|
|
|
|
@end
|