diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-09-18 09:18:33 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-09-18 09:20:15 +0200 |
commit | ea0b2f2bb871e7760d1936bb9b193655682df413 (patch) | |
tree | 07be7f5a0ea2f62904273e1b2bbf19a72c8e40f6 /louloulibs/utils/xdg.hpp | |
parent | 73573ebb2abb2aea119a6c99e2bf4a302f2ba834 (diff) | |
download | biboumi-ea0b2f2bb871e7760d1936bb9b193655682df413.tar.gz biboumi-ea0b2f2bb871e7760d1936bb9b193655682df413.tar.bz2 biboumi-ea0b2f2bb871e7760d1936bb9b193655682df413.tar.xz biboumi-ea0b2f2bb871e7760d1936bb9b193655682df413.zip |
Create a xdg_path function
Diffstat (limited to 'louloulibs/utils/xdg.hpp')
-rw-r--r-- | louloulibs/utils/xdg.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/louloulibs/utils/xdg.hpp b/louloulibs/utils/xdg.hpp new file mode 100644 index 0000000..20f5bb7 --- /dev/null +++ b/louloulibs/utils/xdg.hpp @@ -0,0 +1,13 @@ +#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); + +#endif /* XDG_HPP_INCLUDED */ |