aboutsummaryrefslogtreecommitdiffstats
path: root/Low Battery Yup/LaunchAgentManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'Low Battery Yup/LaunchAgentManager.h')
-rw-r--r--Low Battery Yup/LaunchAgentManager.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Low Battery Yup/LaunchAgentManager.h b/Low Battery Yup/LaunchAgentManager.h
new file mode 100644
index 0000000..5a9fa44
--- /dev/null
+++ b/Low Battery Yup/LaunchAgentManager.h
@@ -0,0 +1,20 @@
+//
+// LaunchAgentManager.h
+// Low Battery Yup.d
+//
+// Created by TW on 12/2/16.
+// Copyright (c) 2016 TW. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#define LAUNCH_AGENTS_PATH @"~/Library/LaunchAgents"
+
+@interface LaunchAgentManager : NSObject {
+ NSFileManager *_file_manager;
+}
+
+- (BOOL)install;
+- (BOOL)uninstall;
+
+@end