aboutsummaryrefslogtreecommitdiffstats
path: root/Low Battery Yup/AppDelegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'Low Battery Yup/AppDelegate.h')
-rw-r--r--Low Battery Yup/AppDelegate.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Low Battery Yup/AppDelegate.h b/Low Battery Yup/AppDelegate.h
index 3998e46..0504102 100644
--- a/Low Battery Yup/AppDelegate.h
+++ b/Low Battery Yup/AppDelegate.h
@@ -9,10 +9,21 @@
#import <Cocoa/Cocoa.h>
#import <MASShortcut/MASShortcut.h>
#import "ShortcutView.h"
+#import "LaunchAgentManager.h"
+#import "DaemonLauncher.h"
@interface AppDelegate : NSObject <NSApplicationDelegate> {
IBOutlet NSWindow *window;
IBOutlet ShortcutView *_shortcut_view;
+ IBOutlet NSButton *_start_at_login;
+ IBOutlet NSButton *_launch_app;
+
+ LaunchAgentManager *_launchagent;
+ DaemonLauncher *_daemon_launcher;
}
+- (void)initializeShortcutView;
+- (IBAction)performStartAtLogin:(id)sender;
+- (IBAction)launchOrQuitDaemon:(id)sender;
+
@end