Files
biboumi/louloulibs/utils/xdg.hpp
T
2015-09-18 21:50:54 +02:00

15 lines
397 B
C++

#ifndef XDG_HPP_INCLUDED
#define XDG_HPP_INCLUDED
#include <string>
/**
* Returns a path for the given filename, according to the XDG base
* directory specification, see
* http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
*/
std::string xdg_config_path(const std::string& filename);
std::string xdg_data_path(const std::string& filename);
#endif /* XDG_HPP_INCLUDED */