~singpolyma/biboumi

ref: 1472adfa77f9c3a03967e723d8460f33544b545d biboumi/src/utils/xdg.hpp -rw-r--r-- 332 bytes
1472adfa — louiz’ Remove a too old joke 5 years ago
                                                                                
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);