Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/Library/ml_nowplaying/handler.h

19 lines
613 B
C
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
#pragma once
#include "../Agave/URIHandler/svc_urihandler.h"
// {7A8BAF83-3995-4550-B15B-12D297A9220E}
static const GUID ml_nowplaying_uri_handler =
{ 0x7a8baf83, 0x3995, 0x4550, { 0xb1, 0x5b, 0x12, 0xd2, 0x97, 0xa9, 0x22, 0xe } };
class NowPlayingURIHandler : public svc_urihandler
{
public:
static const char *getServiceName() { return "Now Playing URI Handler"; }
static GUID getServiceGuid() { return ml_nowplaying_uri_handler; }
int ProcessFilename(const wchar_t *filename);
int IsMine(const wchar_t *filename); // just like ProcessFilename but don't actually process
protected:
RECVS_DISPATCH;
};