From ed419140280553b070943b7ba539120a26ff5686 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 11 Dec 2018 07:42:05 +0100 Subject: wanda: restructure directory hierarchy --- src/xdg.hpp | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/xdg.hpp (limited to 'src/xdg.hpp') diff --git a/src/xdg.hpp b/src/xdg.hpp deleted file mode 100644 index 94dbf9b..0000000 --- a/src/xdg.hpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @file xdg.hpp - * @author Felix Morgner (felix.morgner@gmail.com) - * @since 1.0.0 - */ - -#ifndef WANDA_XDG_HPP -#define WANDA_XDG_HPP - -#include "environment.hpp" - -#include -#include -#include - -namespace wanda -{ - /** - * @brief An @p enum to represet the standardized XDG directories - */ - enum struct xdg_directory : std::underlying_type_t - { - data_home, - config_home, - cache_home, - runtime_dir, - }; - - /** - * @brief Get the name of the environment variable associated with the given XDG directory - */ - std::string xdg_variable(xdg_directory directory); - - /** - * @brief Get the path to the given @p directory given the provided @p environment - */ - std::filesystem::path xdg_path_for(xdg_directory directory, environment const & environment); -} // namespace wanda - -#endif \ No newline at end of file -- cgit v1.2.3