aboutsummaryrefslogtreecommitdiff
path: root/Src/Winamp/ExplorerFindFile.h
blob: 5f8b47b01d9f46efebc6e91c665c8c5baa89eba4 (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
27
#ifndef NULLSOFT_WINAMP_EXPLORERFINDFILE_H
#define NULLSOFT_WINAMP_EXPLORERFINDFILE_H

#include "../Agave/ExplorerFindFile/api_explorerfindfile.h"
#include <map>
#include <vector>

class ExplorerFindFile : public api_explorerfindfile
{
public:
	ExplorerFindFile();
	~ExplorerFindFile();
	static const char *getServiceName() { return "ExplorerFindFile API"; }
	static const GUID getServiceGuid() { return ExplorerFindFileApiGUID; }
	BOOL AddFile(wchar_t* file);
	BOOL ShowFiles();
	void Reset();
protected:
	RECVS_DISPATCH;

	typedef std::map<LPITEMIDLIST, std::vector<LPCITEMIDLIST>> PIDLListMap;
	PIDLListMap pidlList;
};

extern ExplorerFindFile *explorerFindFileManager;

#endif