summaryrefslogtreecommitdiffstats
path: root/core/config/boolean.hh
diff options
context:
space:
mode:
Diffstat (limited to 'core/config/boolean.hh')
-rw-r--r--core/config/boolean.hh25
1 files changed, 0 insertions, 25 deletions
diff --git a/core/config/boolean.hh b/core/config/boolean.hh
deleted file mode 100644
index f4d3acd..0000000
--- a/core/config/boolean.hh
+++ /dev/null
@@ -1,25 +0,0 @@
-#pragma once
-
-#include "core/config/ivalue.hh"
-
-namespace config
-{
-class Boolean : public IValue {
-public:
- explicit Boolean(bool default_value = false);
- virtual ~Boolean(void) = default;
-
- virtual void set(std::string_view value) override;
- virtual std::string_view get(void) const override;
-
- bool get_value(void) const;
- void set_value(bool value);
-
-private:
- bool m_value;
-
-public:
- static std::string_view to_string(bool value);
- static bool from_string(std::string_view value);
-};
-} // namespace config