handler.h 613 B

12345678910111213141516171819
  1. #pragma once
  2. #include "../Agave/URIHandler/svc_urihandler.h"
  3. // {7A8BAF83-3995-4550-B15B-12D297A9220E}
  4. static const GUID ml_nowplaying_uri_handler =
  5. { 0x7a8baf83, 0x3995, 0x4550, { 0xb1, 0x5b, 0x12, 0xd2, 0x97, 0xa9, 0x22, 0xe } };
  6. class NowPlayingURIHandler : public svc_urihandler
  7. {
  8. public:
  9. static const char *getServiceName() { return "Now Playing URI Handler"; }
  10. static GUID getServiceGuid() { return ml_nowplaying_uri_handler; }
  11. int ProcessFilename(const wchar_t *filename);
  12. int IsMine(const wchar_t *filename); // just like ProcessFilename but don't actually process
  13. protected:
  14. RECVS_DISPATCH;
  15. };