X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FEnjoyableApplicationDelegate.h;h=020703636c7dddcd1669737739ffa7dc55ea1b7f;hp=f61578b225048c1683f45ebc3376312f5b89200f;hb=4fd28dc6483fd7c8323196abdbf4f1833a284e03;hpb=dacfcc6b0bf3bfebc89b5e6e8266da9eb36177cd diff --git a/Classes/EnjoyableApplicationDelegate.h b/Classes/EnjoyableApplicationDelegate.h index f61578b..0207036 100644 --- a/Classes/EnjoyableApplicationDelegate.h +++ b/Classes/EnjoyableApplicationDelegate.h @@ -6,19 +6,33 @@ // Copyright 2009 University of Otago. All rights reserved. // -@class NJMappingsController; - #import "NJMappingMenuController.h" +#import "NJMappingsViewController.h" +#import "NJDeviceViewController.h" +#import "NJOutputViewController.h" +#import "NJInputController.h" @interface EnjoyableApplicationDelegate : NSObject { - IBOutlet NSMenu *dockMenu; - IBOutlet NSMenu *statusItemMenu; - IBOutlet NSWindow *window; -} + NJInputControllerDelegate, + NJDeviceViewControllerDelegate, + NJMappingsViewControllerDelegate, + NJOutputViewControllerDelegate, + NJMappingMenuDelegate, + NSWindowDelegate> + +@property (nonatomic, strong) IBOutlet NJInputController *ic; +@property (nonatomic, strong) IBOutlet NJOutputViewController *oc; +@property (nonatomic, strong) IBOutlet NJMappingsViewController *mvc; +@property (nonatomic, strong) IBOutlet NJDeviceViewController *dvc; -@property (nonatomic, strong) IBOutlet NJMappingsController *mappingsController; +@property (nonatomic, strong) IBOutlet NSMenu *dockMenu; +@property (nonatomic, strong) IBOutlet NSMenu *statusItemMenu; +@property (nonatomic, strong) IBOutlet NSWindow *window; +@property (nonatomic, strong) IBOutlet NSButton *simulatingEventsButton; - (IBAction)restoreToForeground:(id)sender; +- (IBAction)importMappingClicked:(id)sender; +- (IBAction)exportMappingClicked:(id)sender; +- (IBAction)simulatingEventsChanged:(NSButton *)sender; @end