PreferencesViewController.h 489 B

123456789101112131415161718192021
  1. //
  2. // PreferencesViewController.h
  3. // ZeroTier One
  4. //
  5. // Created by Grant Limberg on 8/7/16.
  6. // Copyright © 2016 ZeroTier, Inc. All rights reserved.
  7. //
  8. #import <Cocoa/Cocoa.h>
  9. @interface PreferencesViewController : NSViewController
  10. @property (nonatomic, weak) IBOutlet NSButton *startupCheckBox;
  11. - (IBAction)onStartupCheckBoxChanged:(NSButton*)sender;
  12. - (BOOL)isLaunchAtStartup;
  13. - (LSSharedFileListItemRef)itemRefInLoginItems;
  14. - (void)setLaunchAtLoginEnabled:(BOOL)enabled;
  15. @end