OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
windowspath.hpp
Go to the documentation of this file.
1 #ifndef COMPONENTS_FILES_WINDOWSPATH_HPP
2 #define COMPONENTS_FILES_WINDOWSPATH_HPP
3 
4 #if defined(_WIN32) || defined(__WINDOWS__)
5 
6 #include <boost/filesystem.hpp>
7 
11 namespace Files
12 {
13 
17 struct WindowsPath
18 {
24  WindowsPath(const std::string& application_name);
25 
32  boost::filesystem::path getUserConfigPath() const;
33 
34  boost::filesystem::path getUserDataPath() const;
35 
41  boost::filesystem::path getGlobalConfigPath() const;
42 
49  boost::filesystem::path getLocalPath() const;
50 
56  boost::filesystem::path getCachePath() const;
57 
63  boost::filesystem::path getGlobalDataPath() const;
64 
70  boost::filesystem::path getInstallPath() const;
71 
72  std::string mName;
73 };
74 
75 } /* namespace Files */
76 
77 #endif /* defined(_WIN32) || defined(__WINDOWS__) */
78 
79 #endif /* COMPONENTS_FILES_WINDOWSPATH_HPP */