OpenMW
components/files/windowspath.hpp
Go to the documentation of this file.
00001 #ifndef COMPONENTS_FILES_WINDOWSPATH_HPP
00002 #define COMPONENTS_FILES_WINDOWSPATH_HPP
00003 
00004 #if defined(_WIN32) || defined(__WINDOWS__)
00005 
00006 #include <boost/filesystem.hpp>
00007 
00011 namespace Files
00012 {
00013 
00017 struct WindowsPath
00018 {
00024     WindowsPath(const std::string& application_name);
00025 
00032     boost::filesystem::path getUserConfigPath() const;
00033 
00034     boost::filesystem::path getUserDataPath() const;
00035 
00041     boost::filesystem::path getGlobalConfigPath() const;
00042 
00049     boost::filesystem::path getLocalPath() const;
00050 
00056     boost::filesystem::path getCachePath() const;
00057 
00063     boost::filesystem::path getGlobalDataPath() const;
00064 
00070     boost::filesystem::path getInstallPath() const;
00071 
00072     std::string mName;
00073 };
00074 
00075 } /* namespace Files */
00076 
00077 #endif /* defined(_WIN32) || defined(__WINDOWS__) */
00078 
00079 #endif /* COMPONENTS_FILES_WINDOWSPATH_HPP */