source: orbit/iOS/Orbit/Orbit/ViewController.h @ f323fb4

Raw_EEG_Plot
Last change on this file since f323fb4 was 067ea71, checked in by Steve Castellotti <sc@…>, 9 years ago
  • version 1.0
  • GPLv2 header added to source files
  • Property mode set to 100644
File size: 1.3 KB
Line 
1//
2//  ViewController.h
3//  Orbit
4//
5//  Copyright (c) 2012 Puzzlebox Productions, LLC. All rights reserved.
6//  Originally created by Jonathon Horsman.
7//
8//  This code is released under the GNU Public License (GPL) version 2
9//  For more information please refer to http://www.gnu.org/copyleft/gpl.html
10//
11
12#import <UIKit/UIKit.h>
13#import <AVFoundation/AVFoundation.h>
14#import "TGAccessoryManager.h"
15#import "TGAccessoryDelegate.h"
16
17@interface ViewController : UIViewController <TGAccessoryDelegate> {
18    AVAudioPlayer *audioPlayer;
19   
20}
21
22@property (nonatomic, retain) IBOutlet UITextView *log;
23@property (nonatomic, retain) IBOutlet UIProgressView *attention;
24@property (nonatomic, retain) IBOutlet UIProgressView *meditation;
25@property (nonatomic, retain) IBOutlet UIProgressView *signal;
26@property (nonatomic, retain) IBOutlet UIProgressView *power;
27@property (nonatomic, retain) IBOutlet UISlider *attentionThreshold;
28@property (nonatomic, retain) IBOutlet UISlider *meditationThreshold;
29@property (nonatomic, retain) IBOutlet UIButton *connectButton;
30@property (nonatomic, retain) IBOutlet UIButton *demoButton;
31
32- (void) appClosed;
33- (void) appForegrounded;
34- (IBAction) connectButtonPressed:(id) sender; // connect to headset and start processing
35- (IBAction) demoButtonPressed:(id) sender; // allow testing of the app without a headset
36
37@end
Note: See TracBrowser for help on using the repository browser.