1
0

ifc_omcachecallback.h 827 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef NULLSOFT_WINAMP_OMCACHE_CALLBACK_INTERFACE_HEADER
  2. #define NULLSOFT_WINAMP_OMCACHE_CALLBACK_INTERFACE_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <bfc/dispatch.h>
  7. // {A82E94C9-38BA-44ba-9879-0F3CAFCB3527}
  8. static const GUID IFC_OmCacheCallback =
  9. { 0xa82e94c9, 0x38ba, 0x44ba, { 0x98, 0x79, 0xf, 0x3c, 0xaf, 0xcb, 0x35, 0x27 } };
  10. class ifc_omcacherecord;
  11. class __declspec(novtable) ifc_omcachecallback: public Dispatchable
  12. {
  13. protected:
  14. ifc_omcachecallback() {}
  15. ~ifc_omcachecallback() {}
  16. public:
  17. void PathChanged(ifc_omcacherecord *record);
  18. public:
  19. DISPATCH_CODES
  20. {
  21. API_PATHCHANGED = 10,
  22. };
  23. };
  24. inline void ifc_omcachecallback::PathChanged(ifc_omcacherecord *record)
  25. {
  26. _voidcall(API_PATHCHANGED, record);
  27. }
  28. #endif //NULLSOFT_WINAMP_OMCACHE_CALLBACK_INTERFACE_HEADER