-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLiveView.h
39 lines (34 loc) · 1 KB
/
LiveView.h
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
//
// LiveView.h
// GrowLView
//
// Created by Faye Pearson on 14/01/2011.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <IOBluetooth/IOBluetooth.h>
#import "LiveViewCallback.h"
#import "LVMenuItem.h"
@interface LiveView : NSObject {
int width, height,
statusBarWidth, statusBarHeight,
viewWidth, viewHeight,
announceWidth, announceHeight,
textChunkSize, idleTimer;
int menuItemId,navAction,navType,alertAction,maxBodySize;
LiveViewStatus_t screenStatus;
BOOL wasInAlert;
NSString *softwareVersion;
NSMutableArray *menuItems;
NSObject<LiveViewCallback> *callback;
BluetoothRFCOMMChannelID serverChannelID;
BluetoothSDPServiceRecordHandle serverHandle;
IOBluetoothUserNotification *incomingChannelNotification;
IOBluetoothRFCOMMChannel *rfcommChannel;
BluetoothRFCOMMMTU channelMTU;
}
- (NSString*)softwareVersion;
- (void)registerWithCallback:(NSObject<LiveViewCallback> *)lvc;
- (void)addMenuItem:(LVMenuItem *)item;
- (void)stop;
@end