mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-19 21:03:57 -07:00
Replace JoinNetworkViewController with obj-c
This commit is contained in:
parent
d965768004
commit
5b13b282ed
5 changed files with 201 additions and 169 deletions
27
ZeroTier One/JoinNetworkViewController.h
Normal file
27
ZeroTier One/JoinNetworkViewController.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
//
|
||||
// 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;
|
||||
|
||||
@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;
|
||||
|
||||
@property (nonatomic) NSMutableArray<NSString*> *values;
|
||||
|
||||
- (IBAction)onJoinClicked:(id)sender;
|
||||
|
||||
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue