forked from laullon/gitx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPBRemoteProgressSheet.h
66 lines (49 loc) · 2.1 KB
/
PBRemoteProgressSheet.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//
// PBRemoteProgressSheetController.h
// GitX
//
// Created by Nathan Kinsinger on 12/6/09.
// Copyright 2009 Nathan Kinsinger. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "GlobalProtocols.h"
extern NSString * const kGitXProgressDescription;
extern NSString * const kGitXProgressSuccessDescription;
extern NSString * const kGitXProgressSuccessInfo;
extern NSString * const kGitXProgressErrorDescription;
extern NSString * const kGitXProgressErrorInfo;
@class PBGitRepository;
@interface PBRemoteProgressSheet : NSWindowController {
NSWindowController *controller;
NSArray *arguments;
NSString *title;
NSString *description;
NSTask *gitTask;
NSInteger returnCode;
NSTextField *progressDescription;
NSProgressIndicator *progressIndicator;
NSTimer *taskTimer;
NSView *progressView;
NSView *cloneProgressView;
NSTextField *cloneFromURLTextField;
NSTextField *clonetoURLTextField;
NSTextField *filesToCloneTextField;
NSTextField *filesLeftTextField;
NSProgressIndicator *cloneProgressIndicator;
NSTimer *fileStatusTimer;
NSURL *sourceURL;
NSURL *destinationURL;
NSNumber *sourceFilesCount;
}
+ (void) beginRemoteProgressSheetForArguments:(NSArray *)args title:(NSString *)theTitle description:(NSString *)theDescription inDir:(NSString *)dir windowController:(NSWindowController<Messages>*)windowController;
+ (void) beginRemoteProgressSheetForArguments:(NSArray *)args title:(NSString *)theTitle description:(NSString *)theDescription inRepository:(PBGitRepository *)repo;
@property (strong) IBOutlet NSTextField *progressDescription;
@property (strong) IBOutlet NSProgressIndicator *progressIndicator;
@property (strong) IBOutlet NSView *progressView;
@property (strong) IBOutlet NSView *cloneProgressView;
@property (strong) IBOutlet NSTextField *cloneFromURLTextField;
@property (strong) IBOutlet NSTextField *clonetoURLTextField;
@property (strong) IBOutlet NSTextField *filesToCloneTextField;
@property (strong) IBOutlet NSTextField *filesLeftTextField;
@property (strong) IBOutlet NSProgressIndicator *cloneProgressIndicator;
@end