blob: b120b65ab0c7cad5f1d3ba168b20be64ad501dee (
plain)
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
|
//
// AppDelegate.h
// Low Battery Yup
//
// Created by TW on 11/16/16.
// Copyright (c) 2016 TW. All rights reserved.
//
#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;
LaunchAgentManager *_launchagent;
DaemonLauncher *_daemon_launcher;
}
- (void)initializeShortcutView;
- (IBAction)performStartAtLogin:(id)sender;
@end
|