summaryrefslogtreecommitdiff
path: root/src/utils/xdg.hpp
blob: 7be69227596cc5110c7da102bf1ed03223fead47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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);