1
0

ifc_mlnavigationcallback.h 869 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef NULLSOFT_WINAMP_ML_NAVIGATION_CALLBACK_INTERFACE_HEADER
  2. #define NULLSOFT_WINAMP_ML_NAVIGATION_CALLBACK_INTERFACE_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. // {9CBB5A7C-CEC9-4f12-9615-49BC7BEFE8CB}
  7. static const GUID IFC_MlNavigationCallback =
  8. { 0x9cbb5a7c, 0xcec9, 0x4f12, { 0x96, 0x15, 0x49, 0xbc, 0x7b, 0xef, 0xe8, 0xcb } };
  9. #include <bfc/dispatch.h>
  10. class __declspec(novtable) ifc_mlnavigationcallback : public Dispatchable
  11. {
  12. protected:
  13. ifc_mlnavigationcallback() {}
  14. ~ifc_mlnavigationcallback() {}
  15. public:
  16. void ImageChanged(const wchar_t *name, int index);
  17. public:
  18. DISPATCH_CODES
  19. {
  20. API_IMAGECHANGED = 10,
  21. };
  22. };
  23. inline void ifc_mlnavigationcallback::ImageChanged(const wchar_t *name, int index)
  24. {
  25. _voidcall(API_IMAGECHANGED, name, index);
  26. }
  27. #endif // NULLSOFT_WINAMP_ML_NAVIGATION_CALLBACK_INTERFACE_HEADER