This repository was archived by the owner on Dec 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtbv.h
More file actions
executable file
·54 lines (43 loc) · 1.22 KB
/
tbv.h
File metadata and controls
executable file
·54 lines (43 loc) · 1.22 KB
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
52
53
54
//
// HotKeys.h
// HotKeys
//
// Created by Ankur Kothari on 21/03/08.
// Copyright 2008 Ankur Kothari. All rights reserved.
//
#import <Cocoa/Cocoa.h>
NSMutableArray *h;
@interface hKC : NSTextField {
@public;
unsigned int M;
unsigned short K;
}
@end
@interface tbv : NSTableView <NSTableViewDataSource,NSTableViewDelegate,NSApplicationDelegate> {
IBOutlet NSTextField *eT, *eC, *eD, *fst;
IBOutlet hKC *eH; // HotKey field
IBOutlet NSMenuItem *ss; // start / stop agent
IBOutlet NSPanel *fp; // find panel
NSString *l, *find; // path to .hotkeys; find string
BOOL asc, X; // sort order; is agent running
}
- (void)r; // reload data, sorting and maintaining selection
- (BOOL)r4:(NSString *)p; // read from file
- (IBAction)i:(id)n; // import
- (IBAction)x:(id)n; // export
- (IBAction)a:(id)n; // add
- (IBAction)e:(id)s; // edit
- (void)_e:(NSDictionary *)d :(int)row;
- (IBAction)p:(id)n; // prune
- (IBAction)rv:(id)n; // revert to saved
- (IBAction)sv:(id)n; // save
- (IBAction)t:(id)n; // agent stop or start
- (void)s; // run HotKeys agent
- (IBAction)c:(id)s; // save / cancel edit sheet
@end
/*
@interface NSOpenPanel (p)
-(id)_navView;
-(void)setShowsHiddenFiles:(BOOL)s;
@end
*/