Rename the application delegate, and hopefully catch the last vestiges of the old...
[enjoyable.git] / NJDeviceController.h
1 //
2 // NJDeviceController.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 @class NJDevice;
10 @class NJInput;
11 @class NJMappingsController;
12 @class NJOutputController;
13
14 @interface NJDeviceController : NSObject <NSOutlineViewDataSource, NSOutlineViewDelegate> {
15 IBOutlet NSOutlineView *outlineView;
16 IBOutlet NJOutputController *outputController;
17 IBOutlet NJMappingsController *mappingsController;
18 }
19
20 - (void)setup;
21 - (NJDevice *)findDeviceByRef:(IOHIDDeviceRef)device;
22
23 @property (nonatomic, readonly) NJInput *selectedInput;
24 @property (nonatomic, assign) NSPoint mouseLoc;
25 @property (nonatomic, assign) BOOL frontWindowOnly;
26 @property (nonatomic, assign) BOOL translatingEvents;
27
28 @end