summaryrefslogtreecommitdiff
path: root/fxjs/cjs_report.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_report.cpp')
-rw-r--r--fxjs/cjs_report.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/fxjs/cjs_report.cpp b/fxjs/cjs_report.cpp
index 868e9c3279..6e205ef7e7 100644
--- a/fxjs/cjs_report.cpp
+++ b/fxjs/cjs_report.cpp
@@ -19,6 +19,11 @@ int CJS_Report::ObjDefnID = -1;
const char CJS_Report::kName[] = "Report";
// static
+int CJS_Report::GetObjDefnID() {
+ return ObjDefnID;
+}
+
+// static
void CJS_Report::DefineJSObjects(CFXJS_Engine* pEngine, FXJSOBJTYPE eObjType) {
ObjDefnID = pEngine->DefineObj(CJS_Report::kName, eObjType,
JSConstructor<CJS_Report>, JSDestructor);