aboutsummaryrefslogtreecommitdiff
path: root/source/include/wanda/xdg.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2022-09-16 23:28:09 +0200
committerFelix Morgner <felix.morgner@gmail.com>2022-09-16 23:28:09 +0200
commitf4d9880d3c9555b48affad727589ef5c093b1841 (patch)
treea5552b5a33000a527748ac1c72ca366476af0936 /source/include/wanda/xdg.hpp
parent64922e213ac731279cf3341253e67509adb2dfc8 (diff)
downloadwanda-f4d9880d3c9555b48affad727589ef5c093b1841.tar.xz
wanda-f4d9880d3c9555b48affad727589ef5c093b1841.zip
source: clean up structure
Diffstat (limited to 'source/include/wanda/xdg.hpp')
-rw-r--r--source/include/wanda/xdg.hpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/source/include/wanda/xdg.hpp b/source/include/wanda/xdg.hpp
deleted file mode 100644
index bc138fa..0000000
--- a/source/include/wanda/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 <wanda/environment.hpp>
-
-#include <cstddef>
-#include <filesystem>
-#include <type_traits>
-
-namespace wanda
-{
- /**
- * @brief An @p enum to represet the standardized XDG directories
- */
- enum struct xdg_directory : std::underlying_type_t<std::byte>
- {
- 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