Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (34 sloc) 1.283 kb
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#import "TiProxy.h"
#import "Bridge.h"
#import "TiEvaluator.h"
#import "TiStylesheet.h"
@interface TiHost : NSObject
{
NSMutableDictionary *modules;
NSMutableDictionary *contexts;
NSURL *startURL;
NSURL *baseURL;
TiStylesheet *stylesheet;
BOOL debugMode;
}
@property (nonatomic,assign) BOOL debugMode;
-(NSString*)appID;
-(NSURL*)baseURL;
-(NSURL*)startURL;
+(NSString *)resourcePath;
-(TiStylesheet*)stylesheet;
+(NSURL*)resourceBasedURL:(NSString*)fn baseURL:(NSString**)base;
-(id)moduleNamed:(NSString*)name context:(id<TiEvaluator>)context;
-(void)fireEvent:(id)listener withObject:(id)obj remove:(BOOL)remove context:(id<TiEvaluator>)context thisObject:(TiProxy*)thisObject_;
-(void)removeListener:(id)listener context:(id<TiEvaluator>)context;
-(void)evaluateJS:(NSString*)js context:(id<TiEvaluator>)context;
-(void)registerContext:(id<TiEvaluator>)context forToken:(NSString*)token;
-(void)unregisterContext:(id<TiEvaluator>)context forToken:(NSString*)token;
-(id<TiEvaluator>)contextForToken:(NSString*)token;
@end
Jump to Line
Something went wrong with that request. Please try again.