forked from gnachman/iTerm2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TrouterPrefsController.h
42 lines (34 loc) · 1.05 KB
/
TrouterPrefsController.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
//
// TrouterPrefsController.h
// iTerm
//
// Created by George Nachman on 9/28/11.
// Copyright 2011 Georgetech. All rights reserved.
//
#import <Cocoa/Cocoa.h>
extern NSString *kTrouterActionKey;
extern NSString *kTrouterEditorKey;
extern NSString *kTrouterTextKey;
extern NSString *kSublimeText2Identifier;
extern NSString *kSublimeText3Identifier;
extern NSString *kMacVimIdentifier;
extern NSString *kTextmateIdentifier;
extern NSString *kBBEditIdentifier;
extern NSString *kTrouterBestEditorAction;
extern NSString *kTrouterUrlAction;
extern NSString *kTrouterEditorAction;
extern NSString *kTrouterCommandAction;
extern NSString *kTrouterRawCommandAction;
@interface TrouterPrefsController : NSObject {
NSString *guid_;
IBOutlet NSPopUpButton *action_;
IBOutlet NSTextField *text_;
IBOutlet NSPopUpButton *editors_;
IBOutlet NSTextField *caveat_;
}
@property (nonatomic, copy) NSString *guid;
+ (NSString *)bestEditor;
+ (NSString *)schemeForEditor:(NSString *)editor;
- (IBAction)actionChanged:(id)sender;
- (NSDictionary *)prefs;
@end