mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-19 21:03:57 -07:00
Pass authtoken in from user, and add a wrapper for web UI on Mac.
This commit is contained in:
parent
e58047eaa0
commit
5b54612d91
68 changed files with 7537 additions and 1 deletions
49
ext/mac-ui-macgap1-wrapper/MacGap/Classes/WebViewDelegate.h
Normal file
49
ext/mac-ui-macgap1-wrapper/MacGap/Classes/WebViewDelegate.h
Normal file
|
@ -0,0 +1,49 @@
|
|||
#import <Cocoa/Cocoa.h>
|
||||
#import <WebKit/WebKit.h>
|
||||
|
||||
@class Sound;
|
||||
@class Dock;
|
||||
@class Growl;
|
||||
@class Notice;
|
||||
@class Path;
|
||||
@class App;
|
||||
@class Window;
|
||||
@class Clipboard;
|
||||
@class Fonts;
|
||||
@class MenuProxy;
|
||||
@class UserDefaults;
|
||||
|
||||
@class WindowController;
|
||||
|
||||
@interface WebViewDelegate : NSObject {
|
||||
Sound* sound;
|
||||
Dock* dock;
|
||||
Growl* growl;
|
||||
Notice* notice;
|
||||
Path* path;
|
||||
App* app;
|
||||
Window* window;
|
||||
Clipboard* clipboard;
|
||||
Fonts* fonts;
|
||||
NSMenu *mainMenu;
|
||||
UserDefaults* userDefaults;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@property (nonatomic, retain) Sound* sound;
|
||||
@property (nonatomic, retain) Dock* dock;
|
||||
@property (nonatomic, retain) Growl* growl;
|
||||
@property (nonatomic, retain) Notice* notice;
|
||||
@property (nonatomic, retain) Path* path;
|
||||
@property (nonatomic, retain) App* app;
|
||||
@property (nonatomic, retain) Window* window;
|
||||
@property (nonatomic, retain) Clipboard* clipboard;
|
||||
@property (nonatomic, retain) Fonts* fonts;
|
||||
@property (nonatomic, retain) MenuProxy* menu;
|
||||
@property (nonatomic, retain) UserDefaults* userDefaults;
|
||||
|
||||
@property (nonatomic, retain) WindowController *requestedWindow;
|
||||
|
||||
- (id) initWithMenu:(NSMenu*)menu;
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue