winamp/Src/playlist/main.h
2024-09-24 14:54:57 +02:00

26 lines
No EOL
704 B
C++

#ifndef NULLSOFT_PLAYLIST_MAIN_H
#define NULLSOFT_PLAYLIST_MAIN_H
#include <windows.h>
#include <shlwapi.h>
#include "..\Components\wac_network\wac_network_http_receiver_api.h"
extern int (*warand)(void);
HRESULT ResolveShortCut(HWND hwnd, LPCWSTR pszShortcutFile, LPWSTR pszPath);
bool IsUrl(const wchar_t *url);
void SetUserAgent(api_httpreceiver *http);
const char *GetProxy();
#include "../Agave/Component/ifc_wa5component.h"
class PlaylistComponent : public ifc_wa5component
{
public:
void RegisterServices(api_service *service);
int RegisterServicesSafeModeOk();
void DeregisterServices(api_service *service);
protected:
RECVS_DISPATCH;
};
extern PlaylistComponent playlistComponent;
#endif