winamp/Src/playlist/main.h

26 lines
704 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#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