mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-22 06:17:48 +00:00
22 lines
489 B
C
22 lines
489 B
C
|
//
|
||
|
// 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
|