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 | |
16 | |
17 | #ifndef Foundation_Path_UNIX_INCLUDED |
18 | #define Foundation_Path_UNIX_INCLUDED |
19 | |
20 | |
21 | #include "Poco/Foundation.h" |
22 | #include <vector> |
23 | |
24 | |
25 | namespace Poco { |
26 | |
27 | |
28 | class PathImpl |
29 | { |
30 | public: |
31 | static std::string currentImpl(); |
32 | static std::string homeImpl(); |
33 | static std::string configHomeImpl(); |
34 | static std::string dataHomeImpl(); |
35 | static std::string cacheHomeImpl(); |
36 | static std::string tempImpl(); |
37 | static std::string selfImpl(); |
38 | static std::string configImpl(); |
39 | static std::string nullImpl(); |
40 | static std::string expandImpl(const std::string& path); |
41 | static void listRootsImpl(std::vector<std::string>& roots); |
42 | }; |
43 | |
44 | |
45 | } // namespace Poco |
46 | |
47 | |
48 | #endif // Foundation_Path_UNIX_INCLUDED |
49 |