Skip to content
This repository
Newer
Older
100644 42 lines (29 sloc) 1.009 kb
fe5dddc6 »
2010-02-13 Add Add Remote
1 //
2 // PBAddRemoteSheet.h
3 // GitX
4 //
5 // Created by Nathan Kinsinger on 12/8/09.
6 // Copyright 2009 Nathan Kinsinger. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10
11
12 @class PBGitRepository;
13
14 @interface PBAddRemoteSheet : NSWindowController {
15 PBGitRepository *repository;
16
17 NSTextField *remoteName;
18 NSTextField *remoteURL;
19 NSTextField *errorMessage;
20
21 NSOpenPanel *browseSheet;
22 NSView *browseAccessoryView;
23 }
24
25 + (void) beginAddRemoteSheetForRepository:(PBGitRepository *)repo;
26
27 - (IBAction) browseFolders:(id)sender;
28 - (IBAction) addRemote:(id)sender;
29 - (IBAction) orderOutAddRemoteSheet:(id)sender;
30 - (IBAction) showHideHiddenFiles:(id)sender;
31
32
33 @property (readwrite) PBGitRepository *repository;
34
35 @property (readwrite) IBOutlet NSTextField *remoteName;
36 @property (readwrite) IBOutlet NSTextField *remoteURL;
37 @property (readwrite) IBOutlet NSTextField *errorMessage;
38
39 @property (readwrite) NSOpenPanel *browseSheet;
40 @property (readwrite) IBOutlet NSView *browseAccessoryView;
41
42 @end
Something went wrong with that request. Please try again.