aboutsummaryrefslogtreecommitdiff
path: root/Src/Winamp/JSAPI_DispatchTable.h
blob: 7e93eb554d394ab4e41ef027605e15211e7d5256 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
};