handler.h 613 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "../Agave/URIHandler/svc_urihandler.h"
  3. // {1E8830FA-0BDA-45fa-B106-BDF56C93BADD}
  4. static const GUID ml_online_uri_handler =
  5. { 0x1e8830fa, 0xbda, 0x45fa, { 0xb1, 0x6, 0xbd, 0xf5, 0x6c, 0x93, 0xba, 0xdd } };
  6. class OnlineServicesURIHandler : public svc_urihandler
  7. {
  8. public:
  9. static const char *getServiceName() { return "Online Services URI Handler"; }
  10. static GUID getServiceGuid() { return ml_online_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. };