summaryrefslogtreecommitdiff
path: root/fxjs/cjs_document.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_document.h')
-rw-r--r--fxjs/cjs_document.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/cjs_document.h b/fxjs/cjs_document.h
index 262d472cca..2af617f8ad 100644
--- a/fxjs/cjs_document.h
+++ b/fxjs/cjs_document.h
@@ -11,14 +11,13 @@
#include <memory>
#include <vector>
+#include "core/fxcrt/observable.h"
#include "fxjs/js_define.h"
-class CJS_Document;
class CPDF_TextObject;
-
struct CJS_DelayData;
-class CJS_Document : public CJS_Object {
+class CJS_Document : public CJS_Object, public Observable<CJS_Document> {
public:
static int GetObjDefnID();
static void DefineJSObjects(CFXJS_Engine* pEngine);