mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-12 16:13:25 -07:00
Replace Preferences view. Removed LaunchAtLoginController and replaced with simpler code
This commit is contained in:
parent
c6dba50e35
commit
179324e44a
10 changed files with 145 additions and 237 deletions
21
ZeroTier One/PreferencesViewController.h
Normal file
21
ZeroTier One/PreferencesViewController.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
//
|
||||
// PreferencesViewController.h
|
||||
// ZeroTier One
|
||||
//
|
||||
// Created by Grant Limberg on 8/7/16.
|
||||
// Copyright © 2016 ZeroTier, Inc. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface PreferencesViewController : NSViewController
|
||||
|
||||
@property (nonatomic, weak) IBOutlet NSButton *startupCheckBox;
|
||||
|
||||
- (IBAction)onStartupCheckBoxChanged:(NSButton*)sender;
|
||||
|
||||
- (BOOL)isLaunchAtStartup;
|
||||
- (LSSharedFileListItemRef)itemRefInLoginItems;
|
||||
- (void)setLaunchAtLoginEnabled:(BOOL)enabled;
|
||||
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue