mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 02:27:38 -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
31
ext/mac-ui-macgap1-wrapper/MacGap/Classes/Commands/MenuItemProxy.h
Executable file
31
ext/mac-ui-macgap1-wrapper/MacGap/Classes/Commands/MenuItemProxy.h
Executable file
|
@ -0,0 +1,31 @@
|
|||
//
|
||||
// MenuItemProxy.h
|
||||
// MacGap
|
||||
//
|
||||
// Created by Joe Hildebrand on 1/15/12.
|
||||
// Copyright (c) 2012 Twitter. All rights reserved.
|
||||
//
|
||||
|
||||
#import "Command.h"
|
||||
#import "CallbackDelegate.h"
|
||||
|
||||
@class MenuProxy;
|
||||
|
||||
@interface MenuItemProxy : Command {
|
||||
NSMenuItem *item;
|
||||
CallbackDelegate *callback;
|
||||
}
|
||||
|
||||
+ (MenuItemProxy*) proxyWithContext:(JSContextRef)aContext andMenuItem:(NSMenuItem*)anItem;
|
||||
|
||||
- (MenuProxy*)addSubmenu;
|
||||
|
||||
- (void) remove;
|
||||
- (void) setCallback:(WebScriptObject*)aCallback;
|
||||
- (void) setKey:(NSString*)keyCommand;
|
||||
- (void) setTitle:(NSString*)title;
|
||||
- (void) enable;
|
||||
- (void) disable;
|
||||
- (MenuProxy*)submenu;
|
||||
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue