source: orbit/iOS/Orbit/Orbit/ViewController.h @ 66477ef

RawEEGRaw_EEG_PlotServoTab_Interfacepyramid
Last change on this file since 66477ef was 66477ef, checked in by Jonathon Horsman <jonathon@…>, 7 years ago

Initial checkin of working iOS app

  • Property mode set to 100644
File size: 1.0 KB
Line 
1//
2//  ViewController.h
3//  Orbit
4//
5//  Created by Jonathon Horsman on 17/12/2012.
6//  Copyright (c) 2012 Jonathon Horsman. All rights reserved.
7//
8
9#import <UIKit/UIKit.h>
10#import <AVFoundation/AVFoundation.h>
11#import "TGAccessoryManager.h"
12#import "TGAccessoryDelegate.h"
13
14@interface ViewController : UIViewController <TGAccessoryDelegate> {
15    AVAudioPlayer *audioPlayer;
16   
17}
18
19@property (nonatomic, retain) IBOutlet UITextView *log;
20@property (nonatomic, retain) IBOutlet UIProgressView *attention;
21@property (nonatomic, retain) IBOutlet UIProgressView *meditation;
22@property (nonatomic, retain) IBOutlet UIProgressView *signal;
23@property (nonatomic, retain) IBOutlet UIProgressView *power;
24@property (nonatomic, retain) IBOutlet UISlider *attentionThreshold;
25@property (nonatomic, retain) IBOutlet UISlider *meditationThreshold;
26@property (nonatomic, retain) IBOutlet UIButton *demoButton;
27
28- (void) appClosed;
29- (void) appForegrounded;
30- (IBAction) demoButtonPressed:(id) sender; // allow testing of the app without a headset
31
32@end
Note: See TracBrowser for help on using the repository browser.