You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
489 B
22 lines
489 B
|
10 years ago
|
//
|
||
|
|
// 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
|