Output view controller now has a delegate rather than a direct reference to the input...
[enjoyable.git] / Classes / EnjoyableApplicationDelegate.h
1 //
2 // EnjoyableApplicationDelegate.h
3 // Enjoy
4 //
5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
7 //
8
9 #import "NJMappingMenuController.h"
10 #import "NJMappingsViewController.h"
11 #import "NJDeviceViewController.h"
12 #import "NJOutputViewController.h"
13 #import "NJInputController.h"
14
15 @interface EnjoyableApplicationDelegate : NSObject <NSApplicationDelegate,
16 NJInputControllerDelegate,
17 NJDeviceViewControllerDelegate,
18 NJMappingsViewControllerDelegate,
19 NJOutputViewControllerDelegate,
20 NJMappingMenuDelegate,
21 NSWindowDelegate>
22
23 @property (nonatomic, strong) IBOutlet NJInputController *ic;
24 @property (nonatomic, strong) IBOutlet NJOutputViewController *oc;
25 @property (nonatomic, strong) IBOutlet NJMappingsViewController *mvc;
26 @property (nonatomic, strong) IBOutlet NJDeviceViewController *dvc;
27
28 @property (nonatomic, strong) IBOutlet NSMenu *dockMenu;
29 @property (nonatomic, strong) IBOutlet NSMenu *statusItemMenu;
30 @property (nonatomic, strong) IBOutlet NSWindow *window;
31 @property (nonatomic, strong) IBOutlet NSButton *simulatingEventsButton;
32
33 - (IBAction)restoreToForeground:(id)sender;
34 - (IBAction)importMappingClicked:(id)sender;
35 - (IBAction)exportMappingClicked:(id)sender;
36 - (IBAction)simulatingEventsChanged:(NSButton *)sender;
37
38 @end