-
Notifications
You must be signed in to change notification settings - Fork 0
/
MyApp.h
47 lines (38 loc) · 1.67 KB
/
MyApp.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
//----------------------------------------------------------------------------------------
// MyApp.h - NSApplication's delegate
//
// Copyright © Chris, 2007 - 2010. All rights reserved.
//----------------------------------------------------------------------------------------
#import <Cocoa/Cocoa.h>
@class RepositoriesController, FavoriteWorkingCopies;
/* " Application's main controller." */
@interface MyApp : NSObject
{
IBOutlet id preferencesWindow;
IBOutlet id favoriteWorkingCopiesWindow; // Unused
IBOutlet id tasksManager;
IBOutlet RepositoriesController* repositoriesController;
IBOutlet FavoriteWorkingCopies* favoriteWorkingCopies;
UInt32 fSvnVersion;
}
+ (MyApp*) myApp;
// AppleScript Handlers
- (void) displayHistory: (NSString*) path; // Compare a single file in a svnX window.
- (void) openWorkingCopy: (NSString*) path; // Open a working copy window.
- (void) openRepository: (NSString*) url; // Open a repository window.
- (void) openFiles: (id) fileOrFiles; // Open files in appropriate applications.
- (void) diffFiles: (id) fileOrFiles; // Compare files against BASE.
- (void) resolveFiles: (id) fileOrFiles; // Interactively resolve conflicted files.
- (IBAction) openPreferences: (id) sender;
- (IBAction) closePreferences: (id) sender;
- (IBAction) quitApp: (id) sender;
- (BOOL) svnHasLibs;
- (void) setSvnHasLibs: (id) ignore;
- (UInt32) svnVersionNum;
- (NSString*) svnVersion;
- (void) setSvnVersion: (NSData*) version;
- (void) openRepository: (NSURL*) url
user: (NSString*) user
pass: (NSString*) pass;
- (NSString*) getMACAddress;
@end