// -*- mode: c++; c-basic-offset: 2; -*- #ifndef XDG_HH #define XDG_HH #include #include class XDG { public: static std::string config_home(); // Returned list is sorted in order of importance, directories may not exist static std::vector config_dirs(); static std::string data_home(); // Returned list is sorted in order of importance, directories may not exist static std::vector data_dirs(); static std::string cache_home(); static std::string home(); private: XDG() {} ~XDG() {} }; #endif // XDG_HH