-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathBrainOSCAppDelegate.h
More file actions
51 lines (31 loc) · 1022 Bytes
/
BrainOSCAppDelegate.h
File metadata and controls
51 lines (31 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// BrainOSCAppDelegate.h
// BrainOSC
//
// Created by David Lublin on 2/20/12.
// Copyright 2012 Vidvox. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <VVOSC/VVOSC.h>
#import "TGManager.h"
/*
Simple app controller class-
1. Listen for incoming brainwave data (delegate for tgManager)
2. Pass off data to OSCManager (see NetworkSetupController for OSCManager config methods)
3. Update UI when brainwave connection status changes
See http://code.google.com/p/vvopensource/ for more details on VVOSC
*/
@interface BrainOSCAppDelegate : NSObject <NSApplicationDelegate, TGManagerDelegate> {
NSWindow *window;
int nFrameCount;
IBOutlet TGManager *tgManager;
IBOutlet OSCManager *oscManager;
IBOutlet NSPopUpButton *dstPopUpButton;
IBOutlet NSButton *startStopButton;
IBOutlet NSTextField *tgManagerStatusField;
}
@property (assign) IBOutlet NSWindow *window;
- (IBAction) startStopButtonUsed:(id)sender;
- (void) _updateStatusDisplay;
- (void) _sendValues;
@end