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