diff options
Diffstat (limited to 'plugins/IEView/src/IEView.h')
-rw-r--r-- | plugins/IEView/src/IEView.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/IEView/src/IEView.h b/plugins/IEView/src/IEView.h index bb464d45e0..0f6e32c71c 100644 --- a/plugins/IEView/src/IEView.h +++ b/plugins/IEView/src/IEView.h @@ -443,6 +443,7 @@ private: WCHAR* selectedText;
bool isContactSet;
MCONTACT hContact;
+ wchar_t *wszContextMenuHandler;
// IUnknown
STDMETHODIMP QueryInterface(REFIID riid, PVOID *ppv);
@@ -508,6 +509,8 @@ private: STDMETHOD(SetZoneMapping)(DWORD dwZone, LPCWSTR lpszPattern, DWORD dwFlags);
STDMETHOD(GetZoneMappings)(DWORD dwZone, IEnumString **ppenumString, DWORD dwFlags);
+ VARIANT IEView::CallJScript(const CMString strFunc, size_t nPCount, const CMString strArgs, ...);
+
IHTMLDocument2 *getDocument();
WCHAR* getHrefFromAnchor(CComPtr<IHTMLElement> element);
WCHAR* getSelection();
@@ -558,5 +561,10 @@ public: static void release();
static void setOptions();
+ inline void Set_ContextMenuHandler(const wchar_t* handler)
+ {
+ replaceStrW(wszContextMenuHandler, handler);
+ }
+
};
#endif
|