VideoFeedFactory.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef NULLSOFT_WINAMP_VIDEOFEEDFACTORY_H
  2. #define NULLSOFT_WINAMP_VIDEOFEEDFACTORY_H
  3. #include <api/service/waservicefactorybase.h>
  4. #include <api/service/services.h>
  5. #include <api/skin/feeds/api_textfeed.h>
  6. #include "api.h"
  7. // {BD838BA9-1CE8-4f73-BBC0-58DA5168517F}
  8. static const GUID videoFeedFactoryGUID =
  9. { 0xbd838ba9, 0x1ce8, 0x4f73, { 0xbb, 0xc0, 0x58, 0xda, 0x51, 0x68, 0x51, 0x7f } };
  10. class VideoTextFeedFactory : public waServiceBase<svc_textFeed, VideoTextFeedFactory> {
  11. public:
  12. VideoTextFeedFactory() : waServiceBase<svc_textFeed, VideoTextFeedFactory>(videoFeedFactoryGUID) {}
  13. static const char *getServiceName() { return "Video Text Feed"; }
  14. svc_textFeed *getService() { return videoTextFeed; }
  15. static FOURCC getServiceType() { return WaSvc::TEXTFEED; }
  16. };
  17. // {87291C37-EC56-476b-B813-ED0F6F90C3B7}
  18. static const GUID playlistFeedFactory =
  19. { 0x87291c37, 0xec56, 0x476b, { 0xb8, 0x13, 0xed, 0xf, 0x6f, 0x90, 0xc3, 0xb7 } };
  20. class PlaylistTextFeedFactory : public waServiceBase<svc_textFeed, PlaylistTextFeedFactory> {
  21. public:
  22. PlaylistTextFeedFactory() : waServiceBase<svc_textFeed, PlaylistTextFeedFactory>(playlistFeedFactory) {}
  23. static const char *getServiceName() { return "Playlist Text Feed"; }
  24. svc_textFeed *getService() { return playlistTextFeed; }
  25. static FOURCC getServiceType() { return WaSvc::TEXTFEED; }
  26. };
  27. #endif