X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FEnjoyableApplicationDelegate.h;h=020703636c7dddcd1669737739ffa7dc55ea1b7f;hp=c4d8e3b47953dc8eb5397553704ee174f950402e;hb=4fd28dc6483fd7c8323196abdbf4f1833a284e03;hpb=22efc1e5000d462091f3156ee5a8959be32cfb11 diff --git a/Classes/EnjoyableApplicationDelegate.h b/Classes/EnjoyableApplicationDelegate.h index c4d8e3b..0207036 100644 --- a/Classes/EnjoyableApplicationDelegate.h +++ b/Classes/EnjoyableApplicationDelegate.h @@ -6,19 +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 NJDeviceController *inputController; -@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