summaryrefslogtreecommitdiff
path: root/sampleclient/AppDelegate.h
diff options
context:
space:
mode:
authorTim Redfern <tim@Adaptics.local>2013-09-18 17:28:16 +0100
committerTim Redfern <tim@Adaptics.local>2013-09-18 17:28:16 +0100
commit31b03c8a1234b966ec56f5da316d93a9259c5d71 (patch)
tree765de64c5cb766703beac87bdccf61a739cd3be1 /sampleclient/AppDelegate.h
initial commit
Diffstat (limited to 'sampleclient/AppDelegate.h')
-rwxr-xr-xsampleclient/AppDelegate.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sampleclient/AppDelegate.h b/sampleclient/AppDelegate.h
new file mode 100755
index 0000000..262717d
--- /dev/null
+++ b/sampleclient/AppDelegate.h
@@ -0,0 +1,21 @@
+//
+// AppDelegate.h
+// sampleterm
+//
+// Created by Michael Testa on 11/1/12.
+// Copyright (c) Blueradios, Inc. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import <CoreBluetooth/CoreBluetooth.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+@property (strong, nonatomic) CBCentralManager *cbCentral;
+@property (strong, nonatomic) CBPeripheral *activePeripheral;
+
+//Returns a pointer to the shared AppDelegate
++(AppDelegate*)app;
+
+@end