Path_WIN32U.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // Path_WIN32U.h
  3. //
  4. // Library: Foundation
  5. // Package: Filesystem
  6. // Module: Path
  7. //
  8. // Definition of the PathImpl class for WIN32.
  9. //
  10. // Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
  11. // and Contributors.
  12. //
  13. // SPDX-License-Identifier: BSL-1.0
  14. //
  15. #ifndef Foundation_Path_WIN32U_INCLUDED
  16. #define Foundation_Path_WIN32U_INCLUDED
  17. #include "Poco/Foundation.h"
  18. #include <vector>
  19. namespace Poco {
  20. class Foundation_API PathImpl
  21. {
  22. public:
  23. static std::string currentImpl();
  24. static std::string homeImpl();
  25. static std::string configHomeImpl();
  26. static std::string dataHomeImpl();
  27. static std::string cacheHomeImpl();
  28. static std::string tempHomeImpl();
  29. static std::string tempImpl();
  30. static std::string configImpl();
  31. static std::string nullImpl();
  32. static std::string systemImpl();
  33. static std::string expandImpl(const std::string& path);
  34. static void listRootsImpl(std::vector<std::string>& roots);
  35. enum
  36. {
  37. MAX_PATH_LEN = 32767
  38. };
  39. };
  40. } // namespace Poco
  41. #endif // Foundation_Path_WIN32U_INCLUDED