summaryrefslogtreecommitdiff
path: root/src/utils/xdg.hpp
blob: 56e11da220f2588f943896cc763725ce95c8efbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once


#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);