Revision 0224a49f pithos-macos/pithos_macosAppDelegate.h
b/pithos-macos/pithos_macosAppDelegate.h | ||
---|---|---|
38 | 38 |
#import <Cocoa/Cocoa.h> |
39 | 39 |
@class PithosBrowserController; |
40 | 40 |
@class PithosPreferencesController; |
41 |
@class PithosSyncDaemon; |
|
41 | 42 |
|
42 | 43 |
@interface pithos_macosAppDelegate : NSObject <NSApplicationDelegate> { |
43 | 44 |
IBOutlet PithosBrowserController *pithosBrowserController; |
44 | 45 |
IBOutlet PithosPreferencesController *pithosPreferencesController; |
46 |
|
|
47 |
PithosSyncDaemon *pithosSyncDaemon; |
|
45 | 48 |
|
46 | 49 |
IBOutlet NSMenu *statusMenu; |
47 | 50 |
NSStatusItem *statusItem; |
... | ... | |
52 | 55 |
NSString *publicURLPrefix; |
53 | 56 |
NSString *loginURLPrefix; |
54 | 57 |
NSString *aboutURL; |
58 |
|
|
59 |
NSString *syncDirectoryPath; |
|
60 |
NSString *syncContainerName; |
|
61 |
NSTimeInterval syncTimeInterval; |
|
55 | 62 |
} |
56 | 63 |
|
57 | 64 |
- (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent: (NSAppleEventDescriptor *)replyEvent; |
58 | 65 |
- (IBAction)showPithosBrowser:(id)sender; |
59 | 66 |
- (IBAction)showPithosPreferences:(id)sender; |
60 | 67 |
- (IBAction)aboutPithos:(id)sender; |
68 |
- (IBAction)syncNow:(id)sender; |
|
61 | 69 |
|
62 | 70 |
- (void)authenticateWithAuthUser:(NSString *)authUser authToken:(NSString *)authToken; |
71 |
- (void)startSyncWithDirectoryPath:(NSString *)directoryPath containerName:(NSString *)containerName; |
|
63 | 72 |
|
64 | 73 |
@property (nonatomic, readonly) NSString *storageURLPrefix; |
65 | 74 |
@property (nonatomic, readonly) NSString *publicURLPrefix; |
66 | 75 |
@property (nonatomic, readonly) NSString *loginURLPrefix; |
67 | 76 |
@property (nonatomic, readonly) NSString *aboutURL; |
77 |
@property (nonatomic, readonly) NSString *syncDirectoryPath; |
|
78 |
@property (nonatomic, readonly) NSString *syncContainerName; |
|
79 |
@property (nonatomic, assign) NSTimeInterval syncTimeInterval; |
|
68 | 80 |
|
69 | 81 |
@end |
Also available in: Unified diff