-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppController.h
More file actions
executable file
·43 lines (32 loc) · 1.31 KB
/
AppController.h
File metadata and controls
executable file
·43 lines (32 loc) · 1.31 KB
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
// ©2009 Andreas Beier & c't - Magazin für Computertechnik (adb@ctmagazin.de)
// Growl support added by h0sch1 (hoschi@anukis.de)
#import <Cocoa/Cocoa.h>
#include <CoreServices/CoreServices.h>
#import <Growl/GrowlApplicationBridge.h>
@interface AppController : NSObject <GrowlApplicationBridgeDelegate>{
IBOutlet NSWindow *prefsWindow;
IBOutlet NSTableView *tableView;
IBOutlet NSButton *addFolderButton;
IBOutlet NSButton *deleteFolderButton;
NSMutableArray *foldersToBackup;
FSEventStreamRef fsStream;
FSEventStreamContext *fsContext;
BOOL isRunning;
@public
IBOutlet NSPathControl *backupPathControl;
IBOutlet NSTextField *statusField;
IBOutlet NSMenu *statusMenu;
NSStatusItem *menuItem;
NSTimer *blinkenTimer;
BOOL errorWasSeen;
}
- (void)deleteAlertDidEnd:(NSAlert *)alert returnCode:(int)returnCode contextInfo:(void *)contextInfo;
- (void)openPanelDidEnd:(NSOpenPanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo;
- (void)backupPathControlDoubleClick:(id)sender;
- (void)chooseFolderAtDirectory:(NSString *)startPath contextInfo:(void *)contextInfo;
- (IBAction)changeBackup:(id)sender;
- (IBAction)addFolder:(id)sender;
- (IBAction)deleteFolder:(id)sender;
- (IBAction)handleLoginItemStatus:(id)sender;
- (void)setBlinkenTimer:(NSTimer *)newTimer;
@end