summaryrefslogtreecommitdiffstats
path: root/game/client/config/keybind.hh
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/config/keybind.hh')
-rw-r--r--game/client/config/keybind.hh50
1 files changed, 25 insertions, 25 deletions
diff --git a/game/client/config/keybind.hh b/game/client/config/keybind.hh
index dff6c18..51a67d6 100644
--- a/game/client/config/keybind.hh
+++ b/game/client/config/keybind.hh
@@ -1,25 +1,25 @@
-#pragma once
-
-#include "core/config/ivalue.hh"
-
-namespace config
-{
-class KeyBind final : public IValue {
-public:
- explicit KeyBind(void);
- explicit KeyBind(int default_value);
- virtual ~KeyBind(void) = default;
-
- virtual void set(std::string_view value) override;
- virtual std::string_view get(void) const override;
-
- void set_key(int keycode);
- int get_key(void) const;
-
- bool equals(int keycode) const;
-
-private:
- std::string_view m_name;
- int m_glfw_keycode;
-};
-} // namespace config
+#pragma once
+
+#include "core/config/ivalue.hh"
+
+namespace config
+{
+class KeyBind final : public IValue {
+public:
+ explicit KeyBind(void);
+ explicit KeyBind(int default_value);
+ virtual ~KeyBind(void) = default;
+
+ virtual void set(std::string_view value) override;
+ virtual std::string_view get(void) const override;
+
+ void set_key(int keycode);
+ int get_key(void) const;
+
+ bool equals(int keycode) const;
+
+private:
+ std::string_view m_name;
+ int m_glfw_keycode;
+};
+} // namespace config