diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-08-19 09:11:09 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-08-19 09:11:09 +0200 |
| commit | e2dad5f30ca4d8502558e0560d2059a51aae4c4c (patch) | |
| tree | 4be91eaa56c58403d77c6a5b694a9ddc49a4b481 /core/include | |
| parent | a4e62c525fdc6b9662cdd48aaef2de7e9376f062 (diff) | |
| download | turns-e2dad5f30ca4d8502558e0560d2059a51aae4c4c.tar.xz turns-e2dad5f30ca4d8502558e0560d2059a51aae4c4c.zip | |
core: add settings accessor
Diffstat (limited to 'core/include')
| -rw-r--r-- | core/include/turns/core/settings.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/include/turns/core/settings.hpp b/core/include/turns/core/settings.hpp new file mode 100644 index 0000000..3e21a47 --- /dev/null +++ b/core/include/turns/core/settings.hpp @@ -0,0 +1,21 @@ +#ifndef TURNS_CORE_SETTINGS_HPP +#define TURNS_CORE_SETTINGS_HPP + +#include <glibmm/refptr.h> + +#include <giomm/settings.h> + +namespace turns::core +{ + namespace key + { + auto constexpr disposition_friendly_color = "disposition-friendly-color"; + auto constexpr disposition_hostile_color = "disposition-hostile-color"; + auto constexpr disposition_secret_color = "disposition-secret-color"; + auto constexpr skip_defeated = "skip-defeated"; + } // namespace key + + auto get_settings() -> Glib::RefPtr<Gio::Settings>; +} // namespace turns::core + +#endif
\ No newline at end of file |
