diff options
Diffstat (limited to 'fxjs/ijs_event_context.h')
-rw-r--r-- | fxjs/ijs_event_context.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/ijs_event_context.h b/fxjs/ijs_event_context.h index 9b8dd8eabe..6050d65eca 100644 --- a/fxjs/ijs_event_context.h +++ b/fxjs/ijs_event_context.h @@ -20,6 +20,8 @@ class CPDFSDK_FormFillEnvironment; // may trigger new events on top of one another. class IJS_EventContext { public: + virtual ~IJS_EventContext() {} + virtual bool RunScript(const WideString& script, WideString* info) = 0; virtual void OnApp_Init() = 0; @@ -125,9 +127,6 @@ class IJS_EventContext { virtual void OnBatchExec(CPDFSDK_FormFillEnvironment* pFormFillEnv) = 0; virtual void OnConsole_Exec() = 0; virtual void OnExternal_Exec() = 0; - - protected: - virtual ~IJS_EventContext() {} }; #endif // FXJS_IJS_EVENT_CONTEXT_H_ |