X-Git-Url: https://git.yukkurigames.com/?a=blobdiff_plain;ds=sidebyside;f=Classes%2FEnjoyableApplicationDelegate.h;h=3b1f2f44ccf17b61667e89444dd09b77d0a37d5f;hb=6a8c6539cc3f7a4b32a9f226da6ae06074e4f0cb;hp=36374d301c887102fd431d397c5deece6f81a43d;hpb=1d9578185de7fb08cf1f4b1e42812e87d8e18040;p=enjoyable.git diff --git a/Classes/EnjoyableApplicationDelegate.h b/Classes/EnjoyableApplicationDelegate.h index 36374d3..3b1f2f4 100644 --- a/Classes/EnjoyableApplicationDelegate.h +++ b/Classes/EnjoyableApplicationDelegate.h @@ -6,18 +6,35 @@ // Copyright 2009 University of Otago. All rights reserved. // -@class NJDeviceController; @class NJMappingsController; -@interface EnjoyableApplicationDelegate : NSObject { - IBOutlet NSMenu *dockMenu; - IBOutlet NSMenu *statusItemMenu; - IBOutlet NSMenu *mappingsMenu; - IBOutlet NSWindow *window; -} +#import "NJMappingMenuController.h" +#import "NJMappingsViewController.h" +#import "NJDeviceViewController.h" +#import "NJOutputController.h" +#import "NJDeviceController.h" + +@interface EnjoyableApplicationDelegate : NSObject @property (nonatomic, strong) IBOutlet NJMappingsController *mappingsController; +@property (nonatomic, strong) IBOutlet NJDeviceController *deviceController; +@property (nonatomic, strong) IBOutlet NJOutputController *outputController; +@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