summaryrefslogtreecommitdiff
path: root/sampleclient/AppDelegate.h
diff options
context:
space:
mode:
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