forked from Daij-Djan/proximity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProximityAppController.h
37 lines (26 loc) · 1.14 KB
/
ProximityAppController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#import <Cocoa/Cocoa.h>
#import <IOBluetoothUI/objc/IOBluetoothDeviceSelectorController.h>
#import "ProximityBluetoothMonitor.h"
#import "ProximityStatusItem.h"
@interface ProximityAppController : NSObject <NSApplicationDelegate, NSWindowDelegate, ProximityBluetoothMonitorDelegate> {
ProximityBluetoothMonitor *monitor;
ProximityStatusItem *statusItem;
NSURL *inRangeScriptURL;
NSURL *outOfRangeScriptURL;
}
@property (strong) IBOutlet NSWindow *prefsWindow;
@property (strong) IBOutlet NSTextField *deviceName;
@property (strong) IBOutlet NSProgressIndicator *progressIndicator;
@property (strong) IBOutlet NSLevelIndicator *currentSignalStrength;
@property (strong) IBOutlet NSTextField *deviceStatus;
@property (strong) IBOutlet NSTextField *inRangeScriptPath;
@property (strong) IBOutlet NSTextField *outOfRangeScriptPath;
// UI methods
- (IBAction)changeDevice:(id)sender;
- (IBAction)updateDeviceStatus:(id)sender;
- (IBAction)inRangeScriptChange:(id)sender;
- (IBAction)inRangeScriptTest:(id)sender;
- (IBAction)outOfRangeScriptChange:(id)sender;
- (IBAction)outOfRangeScriptTest:(id)sender;
- (IBAction)showWindow:(id)sender;
@end