topical media & game development
#mobile-application-10-DerbyApp-build-iphone-Classes-TiModule.h / h
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.
WARNING: This is generated code. Modify at your own risk and without support.
#import <TiUtils.h>
#import <TiEvaluator.h>
@interface TiModule : TiProxy
{
@protected
TiHost *host;
@private
CFMutableDictionaryRef classNameLookup;
NSString *moduleName;
id moduleAssets;
}
// internal
-(void)_setName:(NSString*)name;
-(void)setPageContext:(id<TiEvaluator>)evaluator;
-(void)setHost:(TiHost*)host;
-(id)createProxy:(NSArray*)args forName:(NSString*)name context:(id<TiEvaluator>)evaluator;
// module related utilities
-(NSString*)moduleId;
-(BOOL)isJSModule;
-(NSData*)moduleJS;
-(NSURL*)moduleResourceURL:(NSString*)name;
-(id)bindCommonJSModule:(NSString*)code;
-(id)bindCommonJSModuleForPath:(NSURL*)path;
// lifecycle
-(void)startup;
-(void)shutdown:(id)sender;
-(void)suspend:(id)sender;
-(void)resume:(id)sender;
-(void)resumed:(id)sender;
@end
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.