diff options
Diffstat (limited to 'Src/Winamp/urlmanager.h')
-rw-r--r-- | Src/Winamp/urlmanager.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Src/Winamp/urlmanager.h b/Src/Winamp/urlmanager.h new file mode 100644 index 00000000..6483dd5c --- /dev/null +++ b/Src/Winamp/urlmanager.h @@ -0,0 +1,28 @@ +#pragma once + +#include "api_urlmanager.h" +#include <vector> + +class URLManager : public api_urlmanager +{ +public: + static const char *getServiceName() { return "URL Manager API"; } + static const GUID getServiceGuid() { return urlManagerGUID; } +public: + const wchar_t *GetURL(const wchar_t *urlid); +// int Parse(const wchar_t *filename); + +private: + void AddURL(const wchar_t *urlid, const wchar_t *url); + struct URLS + { + wchar_t *urlid; + wchar_t *url; + }; + typedef std::vector<URLS> URLList; + URLList urls; + +protected: + RECVS_DISPATCH; +}; + |