1
0

ifc_travelloghelper.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef NULLSOFT_WINAMP_OMBROWSER_TRAVELLOG_HELPER_INTERFACE_HEADER
  2. #define NULLSOFT_WINAMP_OMBROWSER_TRAVELLOG_HELPER_INTERFACE_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. // {2C4913CF-D04A-402e-81B4-B5A1A392618C}
  7. static const GUID IFC_TravelLogHelper =
  8. { 0x2c4913cf, 0xd04a, 0x402e, { 0x81, 0xb4, 0xb5, 0xa1, 0xa3, 0x92, 0x61, 0x8c } };
  9. #include <bfc/dispatch.h>
  10. interface ITravelLogStg;
  11. class __declspec(novtable) ifc_travelloghelper : public Dispatchable
  12. {
  13. protected:
  14. ifc_travelloghelper() {}
  15. ~ifc_travelloghelper() {}
  16. public:
  17. HRESULT QueryStorage(ITravelLogStg **ppLog);
  18. HRESULT ShowPopup(UINT fuFlags, INT x, INT y, HWND hwnd, LPTPMPARAMS lptpm);
  19. public:
  20. DISPATCH_CODES
  21. {
  22. API_QUERYSTORAGE = 10,
  23. API_SHOWPOPUP = 20,
  24. };
  25. };
  26. inline HRESULT ifc_travelloghelper::QueryStorage(ITravelLogStg **ppLog)
  27. {
  28. return _call(API_QUERYSTORAGE, (HRESULT)E_NOTIMPL, ppLog);
  29. }
  30. inline HRESULT ifc_travelloghelper::ShowPopup(UINT fuFlags, INT x, INT y, HWND hwnd, LPTPMPARAMS lptpm)
  31. {
  32. return _call(API_SHOWPOPUP, (HRESULT)E_NOTIMPL, fuFlags, x, y, hwnd, lptpm);
  33. }
  34. #endif // NULLSOFT_WINAMP_OMBROWSER_TRAVELLOG_HELPER_INTERFACE_HEADER