rodecomp/Source/Client/Browser/BrowserPopupDispatch.h
ragnarok-clanker 177138b305 Decompile 5 functions in Source/Client/Browser/BrowserClientSite.cpp, Source/Client/Browser/BrowserCommandTarget.h, ...
Batch #12992 by cremane: 4 byte-identical, 1 confirmed by peer review.

- fn_17335 BrowserCommandTarget::~BrowserCommandTarget: byte-identical
- fn_17336 BrowserPopupDispatch::~BrowserPopupDispatch: byte-identical
- fn_17337 BrowserDocumentUI::~BrowserDocumentUI: byte-identical
- fn_17338 BrowserInPlaceFrame::~BrowserInPlaceFrame: byte-identical
- fn_17339 BrowserClientSite::~BrowserClientSite: logic confirmed by peer review (already on main)

Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-06 03:59:09 +00:00

30 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) {
}
~BrowserPopupDispatch();
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