summaryrefslogtreecommitdiff
path: root/louloulibs/utils/xdg.hpp
blob: 15f3d0b59232abb38dfb426968fffe96a7c003bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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 */