Rename the application delegate, and hopefully catch the last vestiges of the old...
[enjoyable.git] / EnjoyableApplicationDelegate.h
diff --git a/EnjoyableApplicationDelegate.h b/EnjoyableApplicationDelegate.h
new file mode 100644 (file)
index 0000000..6a198e6
--- /dev/null
@@ -0,0 +1,28 @@
+//
+//  EnjoyableApplicationDelegate.h
+//  Enjoy
+//
+//  Created by Sam McCall on 4/05/09.
+//  Copyright 2009 University of Otago. All rights reserved.
+//
+
+@class NJDeviceController;
+@class NJOutputController;
+@class NJMappingsController;
+
+@interface EnjoyableApplicationDelegate : NSObject <NSApplicationDelegate> {
+    IBOutlet NSDrawer *drawer;
+    IBOutlet NSWindow *mainWindow;
+    IBOutlet NSToolbarItem *activeButton;
+    IBOutlet NSMenuItem *activeMenuItem;
+    IBOutlet NSMenu *dockMenuBase;
+}
+
+@property (nonatomic, strong) IBOutlet NJDeviceController *inputController;
+@property (nonatomic, strong) IBOutlet NJOutputController *outputController;
+@property (nonatomic, strong) IBOutlet NJMappingsController *mappingsController;
+
+- (IBAction)toggleActivity:(id)sender;
+- (void)mappingsChanged;
+
+@end