1 #ifndef COMPONENTS_FILES_LINUXPATH_H
2 #define COMPONENTS_FILES_LINUXPATH_H
4 #if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
6 #include <boost/filesystem.hpp>
19 LinuxPath(
const std::string& application_name);
24 boost::filesystem::path getUserConfigPath()
const;
26 boost::filesystem::path getUserDataPath()
const;
31 boost::filesystem::path getGlobalConfigPath()
const;
37 boost::filesystem::path getLocalPath()
const;
42 boost::filesystem::path getGlobalDataPath()
const;
47 boost::filesystem::path getCachePath()
const;
52 boost::filesystem::path getInstallPath()
const;