From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/omBrowser/ifc_mlnavigationcallback.h | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Src/omBrowser/ifc_mlnavigationcallback.h (limited to 'Src/omBrowser/ifc_mlnavigationcallback.h') diff --git a/Src/omBrowser/ifc_mlnavigationcallback.h b/Src/omBrowser/ifc_mlnavigationcallback.h new file mode 100644 index 00000000..0616337e --- /dev/null +++ b/Src/omBrowser/ifc_mlnavigationcallback.h @@ -0,0 +1,35 @@ +#ifndef NULLSOFT_WINAMP_ML_NAVIGATION_CALLBACK_INTERFACE_HEADER +#define NULLSOFT_WINAMP_ML_NAVIGATION_CALLBACK_INTERFACE_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +// {9CBB5A7C-CEC9-4f12-9615-49BC7BEFE8CB} +static const GUID IFC_MlNavigationCallback = +{ 0x9cbb5a7c, 0xcec9, 0x4f12, { 0x96, 0x15, 0x49, 0xbc, 0x7b, 0xef, 0xe8, 0xcb } }; + +#include + +class __declspec(novtable) ifc_mlnavigationcallback : public Dispatchable +{ +protected: + ifc_mlnavigationcallback() {} + ~ifc_mlnavigationcallback() {} + +public: + void ImageChanged(const wchar_t *name, int index); + +public: + DISPATCH_CODES + { + API_IMAGECHANGED = 10, + }; +}; + +inline void ifc_mlnavigationcallback::ImageChanged(const wchar_t *name, int index) +{ + _voidcall(API_IMAGECHANGED, name, index); +} + +#endif // NULLSOFT_WINAMP_ML_NAVIGATION_CALLBACK_INTERFACE_HEADER \ No newline at end of file -- cgit