forked from laullon/gitx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PBCloneRepositoryPanel.h
49 lines (37 loc) · 1.41 KB
/
PBCloneRepositoryPanel.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
//
// PBCloneRepositoryPanel.h
// GitX
//
// Created by Nathan Kinsinger on 2/7/10.
// Copyright 2010 Nathan Kinsinger. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "GlobalProtocols.h"
@interface PBCloneRepositoryPanel : NSWindowController <Messages> {
NSTextField *repositoryURL;
NSTextField *destinationPath;
NSTextField *errorMessage;
NSView *browseRepositoryPanelAccessoryView;
NSView *browseDestinationPanelAccessoryView;
NSOpenPanel *browseRepositoryPanel;
NSOpenPanel *browseDestinationPanel;
NSString *path;
BOOL isBare;
}
+ (id) panel;
+ (void)beginCloneRepository:(NSString *)repository toURL:(NSURL *)targetURL isBare:(BOOL)bare;
- (void)showMessageSheet:(NSString *)messageText infoText:(NSString *)infoText;
- (void)showErrorSheet:(NSError *)error;
- (IBAction) closeCloneRepositoryPanel:(id)sender;
- (IBAction) clone:(id)sender;
- (IBAction) browseRepository:(id)sender;
- (IBAction) showHideHiddenFiles:(id)sender;
- (IBAction) browseDestination:(id)sender;
- (IBAction) bareCheckBoxChanged:(NSButton*)sender;
@property (strong) IBOutlet NSTextField *repositoryURL;
@property (strong) IBOutlet NSTextField *destinationPath;
@property (strong) IBOutlet NSTextField *errorMessage;
@property (strong) IBOutlet NSView *browseRepositoryPanelAccessoryView;
@property (strong) IBOutlet NSView *browseDestinationPanelAccessoryView;
@property (assign) BOOL isBare;
@end