1
0

ExplorerFindFile.h 681 B

123456789101112131415161718192021222324252627
  1. #ifndef NULLSOFT_WINAMP_EXPLORERFINDFILE_H
  2. #define NULLSOFT_WINAMP_EXPLORERFINDFILE_H
  3. #include "../Agave/ExplorerFindFile/api_explorerfindfile.h"
  4. #include <map>
  5. #include <vector>
  6. class ExplorerFindFile : public api_explorerfindfile
  7. {
  8. public:
  9. ExplorerFindFile();
  10. ~ExplorerFindFile();
  11. static const char *getServiceName() { return "ExplorerFindFile API"; }
  12. static const GUID getServiceGuid() { return ExplorerFindFileApiGUID; }
  13. BOOL AddFile(wchar_t* file);
  14. BOOL ShowFiles();
  15. void Reset();
  16. protected:
  17. RECVS_DISPATCH;
  18. typedef std::map<LPITEMIDLIST, std::vector<LPCITEMIDLIST>> PIDLListMap;
  19. PIDLListMap pidlList;
  20. };
  21. extern ExplorerFindFile *explorerFindFileManager;
  22. #endif