aboutsummaryrefslogtreecommitdiff
path: root/Src/playlist/main.h
blob: 62b603345630678d53a2e4cdf13339a60d837524 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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