forked from greatyingzi/MTerminal-Jailed
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMTController.h
31 lines (30 loc) · 890 Bytes
/
MTController.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
#import <AudioToolbox/AudioServices.h>
#import <CoreText/CoreText.h>
#import "MTKBAvoiding.h"
#import "VT100.h"
@interface MTController : MTKBAvoiding <UIActionSheetDelegate,UIKeyInput,UITableViewDataSource,VT100Delegate> {
CFMutableBagRef colorBag;
CGColorSpaceRef colorSpace;
CGColorRef nullColor,colorTable[256];
CGColorRef bgDefault,fgDefault,fgBold;
CGColorRef bgCursor,fgCursor;
CTFontRef ctFont;
CTFontRef ctFontBold;
CTFontRef ctFontItalic;
CTFontRef ctFontBoldItalic;
CFNumberRef ctUnderlineStyleSingle;
CFNumberRef ctUnderlineStyleDouble;
CGFloat colWidth,rowHeight;
SystemSoundID bellSoundID;
BOOL bellSound;
BOOL darkBG;
BOOL ctrlLock;
NSTimer* repeatTimer;
NSIndexSet* screenSection;
NSMutableArray* allTerminals;
VT100* activeTerminal;
NSUInteger activeIndex,previousIndex;
}
-(BOOL)handleOpenURL:(NSURL*)URL;
-(BOOL)isRunning;
@end