mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 11:59:58 -05:00
Initial community commit
This commit is contained in:
27
Src/Plugins/Library/ml_online/forceUrl.h
Normal file
27
Src/Plugins/Library/ml_online/forceUrl.h
Normal file
@ -0,0 +1,27 @@
|
||||
#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
|
Reference in New Issue
Block a user