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 @@
#import <Foundation/Foundation.h>
#import <Webkit/WebScriptObject.h>
#define DEG_EPS 0.001
#define fequal(a,b) (fabs((a) - (b)) < DEG_EPS)
#define fequalzero(a) (fabs(a) < DEG_EPS)
@class LoadingView;
@interface Utils : NSObject {
}
- (float) titleBarHeight:(NSWindow*)aWindow;
- (NSString*) pathForResource:(NSString*)resourcepath;
- (NSString*) convertDictionaryToJSON:(NSDictionary*)dict;
- (NSArray*) convertJSarrayToNSArray:(WebScriptObject*)jsArray;
+ (Utils*) sharedInstance;
@end