1
0

JSAPI_DispatchTable.h 340 B

1234567891011121314151617
  1. #pragma once
  2. #include <vector>
  3. #include <ocidl.h>
  4. namespace JSAPI
  5. {
  6. struct Dispatcher
  7. {
  8. Dispatcher():id(0),object(0){ name[0] = 0; }
  9. Dispatcher(const wchar_t *_name, DISPID _id, IDispatch *_object);
  10. ~Dispatcher();
  11. wchar_t name[128];
  12. DISPID id;
  13. IDispatch *object;
  14. };
  15. typedef std::vector<JSAPI::Dispatcher*> DispatchTable;
  16. };