forked from amaxwell/tlutility
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTLMDocumentationController.h
37 lines (31 loc) · 1.04 KB
/
TLMDocumentationController.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
//
// TLMDocumentationController.h
// TeX Live Utility
//
// Created by Adam R. Maxwell on 10/10/15.
//
//
#import <Cocoa/Cocoa.h>
enum {
TLMDocumentationUnchanged = 0, /* don't change option */
TLMDocumentationChanged = (1 << 1), /* need to change option */
TLMDocumentationInstallNow = (1 << 2), /* run install for packages now */
TLMDocumentationInstallLater = (1 << 3) /* if set, option = 1, else option = 0 */
};
typedef NSInteger TLMDocumentationReturnCode;
@interface TLMDocumentationController : NSWindowController
{
@private
NSButton *_enableCheckbox;
NSButton *_dismissButton;
NSButton *_installButton;
BOOL _shouldInstall;
BOOL _changedOption;
}
@property (nonatomic, retain) IBOutlet NSButton *_enableCheckbox;
@property (nonatomic, retain) IBOutlet NSButton *_dismissButton;
@property (nonatomic, retain) IBOutlet NSButton *_installButton;
- (IBAction)dismiss:(id)sender;
- (IBAction)install:(id)sender;
- (IBAction)enableAction:(id)sender;
@end