topical media & game development
#mobile-application-10-DerbyApp-build-iphone-Classes-TiDebugger.h / h
Appcelerator Titanium Mobile
Copyright (c) 2009-2011 by DerbyApp, 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.
include <TiBase.h>
typedef enum {
OUT,
LOG_DEBUG, // Have to distinguish from the DEBUG macro
TRACE,
WARN,
ERR
} DebuggerLogLevel;
ifdef __cplusplus
define EXTERN_FUNC extern "C"
else
define EXTERN_FUNC extern
endif
EXTERN_FUNC void* TiDebuggerCreate(KrollContext*,TiObjectRef);
EXTERN_FUNC void TiDebuggerDestroy(KrollContext*,TiObjectRef,void*);
EXTERN_FUNC void TiDebuggerStart(NSString*,int);
EXTERN_FUNC void TiDebuggerStop();
EXTERN_FUNC void TiDebuggerBeginScript(KrollContext*,const char*);
EXTERN_FUNC void TiDebuggerEndScript(KrollContext*);
EXTERN_FUNC void TiDebuggerLogMessage(DebuggerLogLevel level,NSString* message);
(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.