2016-08-07 19:13:12 -07:00
|
|
|
//
|
|
|
|
// JoinNetworkViewController.h
|
|
|
|
// ZeroTier One
|
|
|
|
//
|
|
|
|
// Created by Grant Limberg on 8/7/16.
|
|
|
|
// Copyright © 2016 ZeroTier, Inc. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
|
|
|
|
extern NSString * const JoinedNetworksKey;
|
|
|
|
|
2016-10-17 13:43:27 -07:00
|
|
|
@class AppDelegate;
|
|
|
|
|
2016-08-07 19:13:12 -07:00
|
|
|
@interface JoinNetworkViewController : NSViewController <NSComboBoxDelegate, NSComboBoxDataSource>
|
|
|
|
|
|
|
|
@property (nonatomic, weak) IBOutlet NSComboBox *network;
|
|
|
|
@property (nonatomic, weak) IBOutlet NSButton *joinButton;
|
|
|
|
@property (nonatomic, weak) IBOutlet NSButton *allowManagedCheckBox;
|
|
|
|
@property (nonatomic, weak) IBOutlet NSButton *allowGlobalCheckBox;
|
|
|
|
@property (nonatomic, weak) IBOutlet NSButton *allowDefaultCheckBox;
|
2016-10-17 13:43:27 -07:00
|
|
|
@property (nonatomic, weak) IBOutlet AppDelegate *appDelegate;
|
2016-08-07 19:13:12 -07:00
|
|
|
|
|
|
|
@property (nonatomic) NSMutableArray<NSString*> *values;
|
|
|
|
|
|
|
|
- (IBAction)onJoinClicked:(id)sender;
|
|
|
|
|
|
|
|
|
|
|
|
@end
|