Pass authtoken in from user, and add a wrapper for web UI on Mac.

This commit is contained in:
Adam Ierymenko 2015-05-06 20:41:51 -07:00
commit 5b54612d91
68 changed files with 7537 additions and 1 deletions

View 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