Batch #10236 by ragnarok-clanker: forced by an admin (2 lower score(s), 15 changed function(s)); checked with 7 compiled unit(s), including every includer of Source/Client/Browser/BrowserClientSite.h, Source/Client/Browser/BrowserCommandTarget.h, Source/Client/Browser/BrowserDocumentUI.h, Source/Client/Browser/BrowserInPlace.h, Source/Client/Browser/BrowserPopupDispatch.h.
29 lines
1.1 KiB
C++
29 lines
1.1 KiB
C++
#ifndef RAGNAROK_SOURCE_CLIENT_BROWSER_BROWSERPOPUPDISPATCH_H
|
|
#define RAGNAROK_SOURCE_CLIENT_BROWSER_BROWSERPOPUPDISPATCH_H
|
|
|
|
#include <windows.h>
|
|
#include <ole2.h>
|
|
|
|
class BrowserClientSite;
|
|
|
|
class BrowserPopupDispatch final : public IDispatch {
|
|
public:
|
|
// INLINED
|
|
explicit BrowserPopupDispatch(BrowserClientSite* site) : unknown_0004(0), m_site(site) {
|
|
}
|
|
|
|
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void** output) override;
|
|
ULONG STDMETHODCALLTYPE AddRef() override;
|
|
ULONG STDMETHODCALLTYPE Release() override;
|
|
HRESULT STDMETHODCALLTYPE GetTypeInfoCount(UINT* count) override;
|
|
HRESULT STDMETHODCALLTYPE GetTypeInfo(UINT index, LCID locale, ITypeInfo** output) override;
|
|
HRESULT STDMETHODCALLTYPE GetIDsOfNames(REFIID iid, LPOLESTR* names, UINT count, LCID locale, DISPID* ids) override;
|
|
HRESULT STDMETHODCALLTYPE
|
|
Invoke(DISPID id, REFIID iid, LCID locale, WORD flags, DISPPARAMS* args, VARIANT* result, EXCEPINFO* error, UINT* argumentError) override;
|
|
|
|
private:
|
|
/* 0004 */ int unknown_0004;
|
|
/* 0008 */ BrowserClientSite* m_site;
|
|
};
|
|
|
|
#endif
|