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/Winamp/JSAPI_DispatchTable.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Src/Winamp/JSAPI_DispatchTable.h (limited to 'Src/Winamp/JSAPI_DispatchTable.h') diff --git a/Src/Winamp/JSAPI_DispatchTable.h b/Src/Winamp/JSAPI_DispatchTable.h new file mode 100644 index 00000000..7e93eb55 --- /dev/null +++ b/Src/Winamp/JSAPI_DispatchTable.h @@ -0,0 +1,17 @@ +#pragma once +#include +#include +namespace JSAPI +{ + struct Dispatcher + { + Dispatcher():id(0),object(0){ name[0] = 0; } + Dispatcher(const wchar_t *_name, DISPID _id, IDispatch *_object); + ~Dispatcher(); + wchar_t name[128]; + DISPID id; + IDispatch *object; + }; + + typedef std::vector DispatchTable; +}; \ No newline at end of file -- cgit