mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-19 21:03:57 -07:00
Replaced the network list with Obj-C
This commit is contained in:
parent
a91187e60e
commit
d965768004
10 changed files with 248 additions and 216 deletions
26
ZeroTier One/ShowNetworksViewController.h
Normal file
26
ZeroTier One/ShowNetworksViewController.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
//
|
||||
// ShowNetworksViewController.h
|
||||
// ZeroTier One
|
||||
//
|
||||
// Created by Grant Limberg on 8/7/16.
|
||||
// Copyright © 2016 ZeroTier, Inc. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@class NetworkMonitor;
|
||||
@class Network;
|
||||
|
||||
@interface ShowNetworksViewController : NSViewController<NSTableViewDelegate, NSTableViewDataSource>
|
||||
|
||||
@property (nonatomic) NSArray<Network*> *networkList;
|
||||
@property (nonatomic) NetworkMonitor *netMonitor;
|
||||
@property (nonatomic) BOOL visible;
|
||||
|
||||
@property (weak, nonatomic) IBOutlet NSTableView *tableView;
|
||||
|
||||
- (void)deleteNetworkFromList:(NSString*)nwid;
|
||||
- (void)setNetworks:(NSArray<Network*>*)list;
|
||||
|
||||
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue