-
Notifications
You must be signed in to change notification settings - Fork 701
/
Document.h
52 lines (43 loc) · 1.18 KB
/
Document.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
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* Document.h
* MachOView
*
* Created by psaghelyi on 15/06/2010.
*
*/
#include <atomic>
@class MVDataController;
@interface MVOutlineView : NSOutlineView
{
}
@end
@interface MVTableView : NSTableView
{
}
@end
@interface MVRightFormatter : NSFormatter
{
BOOL compound; // NO: plain hex; YES: groups of bytes (11 22 33 44 55)
NSUInteger length; // size of hex value; number of bytes
BOOL alignLeft; // NO: 12 --> 0012 YES: 12 --> 1200
}
@end
@interface MVDocument : NSDocument
{
IBOutlet MVOutlineView * leftView;
IBOutlet MVTableView * rightView;
IBOutlet NSSearchField * searchField;
IBOutlet NSTextField * statusText;
IBOutlet NSProgressIndicator * progressIndicator;
IBOutlet NSSegmentedControl * offsetModeSwitch;
IBOutlet NSButton * stopButton;
MVDataController * dataController;
std::atomic<std::int32_t> threadCount;
}
@property (nonatomic,readonly) MVDataController * dataController;
- (IBAction)updateSearchFilter:(id)sender;
- (IBAction)updateAddressingMode:(id)sender;
- (IBAction)stopProcessing:(id)sender;
- (BOOL)isRVA;
+ (NSString *)temporaryDirectory;
@end