mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 05:13:58 -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
20
ext/mac-ui-macgap1-wrapper/MacGap/Classes/JSEventHelper.h
Normal file
20
ext/mac-ui-macgap1-wrapper/MacGap/Classes/JSEventHelper.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
//
|
||||
// Helper.h
|
||||
// MacGap
|
||||
//
|
||||
// Created by Liam Kaufman Simpkins on 12-01-22.
|
||||
// Copyright (c) 2012 Twitter. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "WindowController.h"
|
||||
|
||||
@interface JSEventHelper : NSObject
|
||||
|
||||
+ (void) triggerEvent:(NSString *)event forWebView:(WebView *)webView;
|
||||
+ (void) triggerEvent:(NSString *)event withArgs:(NSDictionary *)args forWebView:(WebView *)webView;
|
||||
+ (void) triggerEvent:(NSString *)event withArgs:(NSDictionary *)args forObject:(NSString *)objName forWebView:(WebView *)webView;
|
||||
+ (void) triggerEvent:(NSString *)event forDetail:(NSString *)detail forWebView:(WebView *)webView;
|
||||
+ (void) triggerEvent:(NSString *)event forDetail:(NSString *)detail forObject:(NSString *)objName forWebView:(WebView *)webView;
|
||||
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue