summaryrefslogtreecommitdiff
path: root/sampleclient/ScanController.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/ScanController.h
initial commit
Diffstat (limited to 'sampleclient/ScanController.h')
-rwxr-xr-xsampleclient/ScanController.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sampleclient/ScanController.h b/sampleclient/ScanController.h
new file mode 100755
index 0000000..4d3538b
--- /dev/null
+++ b/sampleclient/ScanController.h
@@ -0,0 +1,27 @@
+//
+// ScanController.h
+// sampleterm
+//
+// Created by Michael Testa on 11/1/12.
+// Copyright (c) Blueradios, Inc. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import "AppDelegate.h"
+#import "ConnectionController.h"
+#import "Waydio.h"
+
+@interface ScanController : UIViewController <UITableViewDelegate, UITableViewDataSource, CBCentralManagerDelegate> {
+ IBOutlet UITableView *_deviceTableView;
+ IBOutlet UIButton *_scanButton;
+ NSMutableArray *_peripherals;
+}
+
+@property (strong, nonatomic) UITableView* deviceTableView;
+
+//UI Elements
+- (IBAction)startScanButton:(id)sender;
+- (IBAction)stopScanButton:(id)sender;
+- (void)enableButton:(UIButton*)butt;
+- (void)disableButton:(UIButton*)butt;
+@end