/* ----------------------------------------------- APPTRAP LICENSE "Do what you want to do, and go where you're going to Think for yourself, 'cause I won't be there with you" You are completely free to do anything with this source code, but if you try to make money on it you will be beaten up with a large stick. I take no responsibility for anything, and this license text must always be included. Markus Amalthea Magnuson ----------------------------------------------- */ #import #import "ATSUUpdater.h" @interface ATPreferencePane : NSPreferencePane { NSString *appPath; IBOutlet NSTextField *statusText; IBOutlet NSButton *startStopButton; IBOutlet NSButton *startOnLoginButton; IBOutlet NSButton *automaticallyCheckForUpdate; IBOutlet NSTextView *aboutView; IBOutlet NSProgressIndicator *restartingAppTrapIndicator; IBOutlet NSTextField *restartingAppTrapTextField; IBOutlet NSWindow *window; IBOutlet NSWindow *appTrapRestartWindow; } - (void)updateStatus; - (void)launchAppTrap; - (void)terminateAppTrap; - (BOOL)appTrapIsRunning; - (void)checkBackgroundProcessVersion:(NSNotification*)notification; - (void)checkBackgroundProcessVersion; - (BOOL)inLoginItems:(LSSharedFileListRef)theLoginItemsRefs forPath:(CFURLRef)thePath; - (void)addToLoginItems:(LSSharedFileListRef )theLoginItemsRefs forPath:(CFURLRef)thePath; - (void)removeFromLoginItems:(LSSharedFileListRef )theLoginItemsRefs forPath:(CFURLRef)thePath; - (IBAction)automaticallyCheckForUpdate:(id)sender; - (IBAction)checkForUpdate:(id)sender; - (IBAction)startStopAppTrap:(id)sender; - (IBAction)startOnLogin:(id)sender; - (IBAction)visitWebsite:(id)sender; @end