-
Notifications
You must be signed in to change notification settings - Fork 0
/
MyRepository.h
93 lines (76 loc) · 2.89 KB
/
MyRepository.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* Manages the repository inspector interface */
#import <Cocoa/Cocoa.h>
@class MySvnLogView, MySvnRepositoryBrowserView, DrawerLogView, RepoItem;
/* Manages the repository inspector. */
@interface MyRepository : NSDocument
{
@protected
IBOutlet MySvnLogView* svnLogView;
IBOutlet MySvnRepositoryBrowserView* svnBrowserView;
IBOutlet NSDrawer* sidebar;
IBOutlet DrawerLogView* drawerLogView;
IBOutlet NSTextView* urlTextView;
IBOutlet NSTextView* commitTextView;
IBOutlet NSTextField* fileNameTextField;
IBOutlet NSPanel* importCommitPanel;
IBOutlet NSWindow* fLogReportSheet;
BOOL operationInProgress;
BOOL fIsFile; // current URL is file
NSURL* fRootURL; // repository URL
NSURL* fURL; // current URL
NSString* fRevision; // current revision
NSString* user;
NSString* pass;
NSString* windowTitle;
unsigned int fHeadRevision; // repository head revision
unsigned int fLogRevision;
NSMutableArray* fLog;
NSMutableDictionary* displayedTaskObj;
struct SvnEnv* fSvnEnv; // The svn client environment
BOOL fPrefsChanged,
fIsErrorShown;
}
+ (unsigned int) cleanUpLog: (NSMutableArray*) aLog;
- (IBAction) toggleSidebar: (id) sender;
- (IBAction) svnCopy: (id) sender;
- (IBAction) svnMove: (id) sender;
- (IBAction) svnMkdir: (id) sender;
- (IBAction) svnDelete: (id) sender;
- (IBAction) svnFileMerge: (id) sender;
- (IBAction) svnDiff: (id) sender;
- (IBAction) svnBlame: (id) sender;
- (IBAction) svnReport: (id) sender;
- (IBAction) svnOpen: (id) sender;
- (IBAction) svnImport: (id) sender;
- (IBAction) svnExport: (id) sender;
- (IBAction) svnCheckout: (id) sender;
- (IBAction) reportLimit: (id) sender;
- (IBAction) reportOKed: (id) sender;
- (IBAction) reportCancelled: (id) sender;
- (void) setupTitle: (NSString*) title
username: (NSString*) username
password: (NSString*) password
url: (NSURL*) repoURL;
- (void) openItem: (RepoItem*) fileObj
revision: (NSString*) pegRevision;
- (void) openLogPath: (NSDictionary*) pathInfo
revision: (NSString*) pegRevision;
- (void) openLogPath: (NSDictionary*) pathInfo
forLogEntry: (NSDictionary*) logEntry;
- (void) updateLog;
- (NSString*) revision;
- (NSString*) windowTitle;
- (BOOL) rootIsFile;
- (NSURL*) rootURL;
- (NSURL*) url;
- (NSString*) browsePath;
- (struct svn_client_ctx_t*) svnClient;
- (NSArray*) deliverFiles: (NSArray*) repoItems
toFolder: (NSURL*) folderURL
isTemporary: (BOOL) isTemporary;
- (void) receiveFiles: (NSArray*) files
toRepositoryAt: (RepoItem*) destRepoDir;
- (NSInvocation*) svnOptionsInvocation;
- (int) svnStdOptions: (id[]) objs;
- (void) svnError: (NSString*) errorString;
@end // MyRepository