Path_UNIX.h 944 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // Path_UNIX.h
  3. //
  4. // Library: Foundation
  5. // Package: Filesystem
  6. // Module: Path
  7. //
  8. // Definition of the PathImpl class fo rUnix.
  9. //
  10. // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
  11. // and Contributors.
  12. //
  13. // SPDX-License-Identifier: BSL-1.0
  14. //
  15. #ifndef Foundation_Path_UNIX_INCLUDED
  16. #define Foundation_Path_UNIX_INCLUDED
  17. #include "Poco/Foundation.h"
  18. #include <vector>
  19. namespace Poco {
  20. class 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 tempHomeImpl();
  28. static std::string cacheHomeImpl();
  29. static std::string tempImpl();
  30. static std::string configImpl();
  31. static std::string nullImpl();
  32. static std::string expandImpl(const std::string& path);
  33. static void listRootsImpl(std::vector<std::string>& roots);
  34. };
  35. } // namespace Poco
  36. #endif // Foundation_Path_UNIX_INCLUDED