-
Notifications
You must be signed in to change notification settings - Fork 0
/
PBAddRemoteSheet.h
44 lines (30 loc) · 1.02 KB
/
PBAddRemoteSheet.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
//
// PBAddRemoteSheet.h
// GitX
//
// Created by Nathan Kinsinger on 12/8/09.
// Copyright 2009 Nathan Kinsinger. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class PBGitRepository;
@interface PBAddRemoteSheet : NSWindowController {
PBGitRepository *repository;
NSTextField *remoteName;
NSTextField *remoteURL;
NSTextField *errorMessage;
NSOpenPanel *browseSheet;
NSView *browseAccessoryView;
NSString *remoteUrl;
}
+ (void) beginAddRemoteSheetForRepository:(PBGitRepository *)repo withRemoteURL:(NSString*)url;
- (IBAction) browseFolders:(id)sender;
- (IBAction) addRemote:(id)sender;
- (IBAction) orderOutAddRemoteSheet:(id)sender;
- (IBAction) showHideHiddenFiles:(id)sender;
@property(strong) PBGitRepository *repository;
@property(strong) IBOutlet NSTextField *remoteName;
@property(strong) IBOutlet NSTextField *remoteURL;
@property(strong) IBOutlet NSTextField *errorMessage;
@property(strong) NSOpenPanel *browseSheet;
@property(strong) IBOutlet NSView *browseAccessoryView;
@end