diff options
Diffstat (limited to 'Src/Winamp/JSAPI_DispatchTable.h')
-rw-r--r-- | Src/Winamp/JSAPI_DispatchTable.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 <vector> +#include <ocidl.h> +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<JSAPI::Dispatcher*> DispatchTable; +};
\ No newline at end of file |