X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FEnjoyableApplicationDelegate.h;h=020703636c7dddcd1669737739ffa7dc55ea1b7f;hp=36374d301c887102fd431d397c5deece6f81a43d;hb=4fd28dc6483fd7c8323196abdbf4f1833a284e03;hpb=1d9578185de7fb08cf1f4b1e42812e87d8e18040 diff --git a/Classes/EnjoyableApplicationDelegate.h b/Classes/EnjoyableApplicationDelegate.h index 36374d3..0207036 100644 --- a/Classes/EnjoyableApplicationDelegate.h +++ b/Classes/EnjoyableApplicationDelegate.h @@ -6,18 +6,33 @@ // Copyright 2009 University of Otago. All rights reserved. // -@class NJDeviceController; -@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 NSMenu *mappingsMenu; - IBOutlet NSWindow *window; -} +@interface EnjoyableApplicationDelegate : NSObject -@property (nonatomic, strong) IBOutlet NJMappingsController *mappingsController; +@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 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