mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-09-24 15:54:12 +00:00
27 lines
No EOL
484 B
C++
27 lines
No EOL
484 B
C++
#ifndef NULLOSFT_ONLINEMEDIA_FORCE_URL_HEADER
|
|
#define NULLOSFT_ONLINEMEDIA_FORCE_URL_HEADER
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
|
#pragma once
|
|
#endif
|
|
|
|
#include <wtypes.h>
|
|
|
|
class ForceUrl
|
|
{
|
|
public:
|
|
ForceUrl();
|
|
~ForceUrl();
|
|
|
|
public:
|
|
HRESULT Set(UINT serviceId, LPCWSTR pszUrl);
|
|
HRESULT Peek(UINT serviceId, LPWSTR *pszUrl);
|
|
HRESULT Remove(UINT serviceId);
|
|
|
|
void FreeString(LPWSTR pszValue);
|
|
private:
|
|
UINT id;
|
|
LPWSTR url;
|
|
};
|
|
|
|
#endif //NULLOSFT_ONLINEMEDIA_FORCE_URL_HEADER
|