diff options
Diffstat (limited to 'fpdfsdk/javascript/cjs_context.h')
-rw-r--r-- | fpdfsdk/javascript/cjs_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/cjs_context.h b/fpdfsdk/javascript/cjs_context.h index 64b97d616e..84fdf1d3e1 100644 --- a/fpdfsdk/javascript/cjs_context.h +++ b/fpdfsdk/javascript/cjs_context.h @@ -119,13 +119,13 @@ class CJS_Context : public IJS_Context { void OnBatchExec(CPDFSDK_Document* pTarget) override; void OnConsole_Exec() override; void OnExternal_Exec() override; - void EnableMessageBox(FX_BOOL bEnable) override { m_bMsgBoxEnable = bEnable; } + void EnableMessageBox(FX_BOOL bEnable) override; FX_BOOL IsMsgBoxEnabled() const { return m_bMsgBoxEnable; } - - CPDFDoc_Environment* GetReaderApp(); CJS_Runtime* GetJSRuntime() const { return m_pRuntime; } CJS_EventHandler* GetEventHandler() const { return m_pEventHandler; } + + CPDFDoc_Environment* GetReaderApp(); CPDFSDK_Document* GetReaderDocument(); private: |