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.
27 lines
897 B
C++
27 lines
897 B
C++
#ifndef RAGNAROK_SOURCE_CLIENT_BROWSER_BROWSERCOMMANDTARGET_H
|
|
#define RAGNAROK_SOURCE_CLIENT_BROWSER_BROWSERCOMMANDTARGET_H
|
|
|
|
#include <windows.h>
|
|
#include <ole2.h>
|
|
#include <docobj.h>
|
|
|
|
class BrowserClientSite;
|
|
|
|
class BrowserCommandTarget final : public IOleCommandTarget {
|
|
public:
|
|
// INLINED
|
|
explicit BrowserCommandTarget(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 QueryStatus(const GUID* group, ULONG count, OLECMD commands[], OLECMDTEXT* text) override;
|
|
HRESULT STDMETHODCALLTYPE Exec(const GUID* group, DWORD command, DWORD options, VARIANT* input, VARIANT* output) override;
|
|
|
|
private:
|
|
/* 0004 */ int unknown_0004;
|
|
/* 0008 */ BrowserClientSite* m_site;
|
|
};
|
|
|
|
#endif
|