Owner-authorized source migration: 31 helper-only translation units were merged into their callers or existing inline headers; both build manifests updated. Includes the preserved source payload, Lua configuration matching wowdecomp, and exact malloca expansion without diagnostic pragmas. 449 native units compiled locally and 449 staged units compiled by the pinned server toolchain. No previously byte-matched function regressed. Compiler mapping diagnostics remain recorded as needs_cleanup, not accepted or peer-confirmed. Existing independent review records are preserved. README.md is intentionally unchanged.
32 lines
1.2 KiB
C++
32 lines
1.2 KiB
C++
#ifndef RAGNAROK_SOURCE_CLIENT_BROWSER_BROWSERPOPUPDISPATCH_H
|
|
#define RAGNAROK_SOURCE_CLIENT_BROWSER_BROWSERPOPUPDISPATCH_H
|
|
|
|
#include <windows.h>
|
|
#include <ole2.h>
|
|
|
|
struct BrowserFactory;
|
|
|
|
class BrowserPopupDispatch final : public IDispatch {
|
|
public:
|
|
// INLINED
|
|
BrowserPopupDispatch(IUnknown& site, BrowserFactory& factory, const int& width, const int& height)
|
|
: m_site(site), m_factory(factory), m_width(width), m_height(height) {
|
|
}
|
|
|
|
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:
|
|
IUnknown& m_site;
|
|
BrowserFactory& m_factory;
|
|
const int& m_width;
|
|
const int& m_height;
|
|
};
|
|
|
|
#endif
|