diff options
Diffstat (limited to 'fxjs/cjs_console.cpp')
-rw-r--r-- | fxjs/cjs_console.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fxjs/cjs_console.cpp b/fxjs/cjs_console.cpp index 1ccf72feea..d2cbb243b7 100644 --- a/fxjs/cjs_console.cpp +++ b/fxjs/cjs_console.cpp @@ -22,6 +22,11 @@ int CJS_Console::ObjDefnID = -1; const char CJS_Console::kName[] = "console"; // static +int CJS_Console::GetObjDefnID() { + return ObjDefnID; +} + +// static void CJS_Console::DefineJSObjects(CFXJS_Engine* pEngine) { ObjDefnID = pEngine->DefineObj(CJS_Console::kName, FXJSOBJTYPE_STATIC, JSConstructor<CJS_Console>, JSDestructor); |