#import <Cocoa/Cocoa.h>
@class PithosBrowserController;
@class PithosPreferencesController;
+@class PithosSyncDaemon;
@interface pithos_macosAppDelegate : NSObject <NSApplicationDelegate> {
IBOutlet PithosBrowserController *pithosBrowserController;
IBOutlet PithosPreferencesController *pithosPreferencesController;
+
+ IBOutlet PithosSyncDaemon *pithosSyncDaemon;
+ BOOL alwaysNo;
IBOutlet NSMenu *statusMenu;
NSStatusItem *statusItem;
NSString *publicURLPrefix;
NSString *loginURLPrefix;
NSString *aboutURL;
+
+ NSString *syncDirectoryPath;
+ NSString *syncContainerName;
+ NSTimeInterval syncTimeInterval;
}
- (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent: (NSAppleEventDescriptor *)replyEvent;
- (IBAction)showPithosBrowser:(id)sender;
- (IBAction)showPithosPreferences:(id)sender;
- (IBAction)aboutPithos:(id)sender;
+- (IBAction)syncNow:(id)sender;
- (void)authenticateWithAuthUser:(NSString *)authUser authToken:(NSString *)authToken;
+- (void)startSyncWithDirectoryPath:(NSString *)directoryPath containerName:(NSString *)containerName;
@property (nonatomic, readonly) NSString *storageURLPrefix;
@property (nonatomic, readonly) NSString *publicURLPrefix;
@property (nonatomic, readonly) NSString *loginURLPrefix;
@property (nonatomic, readonly) NSString *aboutURL;
+@property (nonatomic, readonly) NSString *syncDirectoryPath;
+@property (nonatomic, readonly) NSString *syncContainerName;
+@property (nonatomic, assign) NSTimeInterval syncTimeInterval;
+
+@property (nonatomic, retain) PithosSyncDaemon *pithosSyncDaemon;
+@property (nonatomic, assign) BOOL alwaysNo;
@end