-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReviewCommit.h
54 lines (45 loc) · 1.57 KB
/
ReviewCommit.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
//----------------------------------------------------------
// ReviewCommit.h - Review and edit a commit
//
// Copyright © Chris, 2008 - 2010. All rights reserved.
//----------------------------------------------------------
#import <Cocoa/Cocoa.h>
#import "Tasks.h"
@class WebView, MyWorkingCopy;
@interface ReviewController : NSResponder<TaskDelegate>
{
IBOutlet NSWindow* fWindow;
IBOutlet WebView* fDiffView;
IBOutlet NSTableView* fFilesView;
IBOutlet NSTextView* fMessageView; // Current message
IBOutlet NSTableView* fRecentView; // Recent messages
IBOutlet NSTableView* fTemplatesView; // Template messages
@private
MyWorkingCopy* fDocument;
NSMutableArray* fFiles;
NSArrayController* fFilesAC;
NSArrayController* fRecentAC;
NSMutableArray* fTemplates;
NSArrayController* fTemplatesAC;
int fCommitFileCount;
int fEditState;
BOOL fIsBusy;
BOOL fSuppressAutoRefresh;
Task* fFileDiffTask;
}
+ (void) openForDocument: (MyWorkingCopy*) document;
- (NSWindow*) window;
- (void) buildFileList;
- (void) buildRecentMessages: (id) taskObj;
- (void) svnCommit_Completed: (id) taskObj;
- (BOOL) isDocumentEdited;
- (IBAction) checkAllFiles: (id) sender;
- (IBAction) checkNoFiles: (id) sender;
- (IBAction) refreshFiles: (id) sender;
- (IBAction) openSelectedFile: (id) sender;
- (IBAction) diffSelectedFile: (id) sender;
- (IBAction) commitFiles: (id) sender;
- (IBAction) setDefaultTab: (id) sender;
- (IBAction) setOption: (id) sender;
- (IBAction) setContextLines: (id) sender;
@end // ReviewController