summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.h
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2019-04-09 19:30:26 -0400
committerGitHub <noreply@github.com>2019-04-09 19:30:26 -0400
commite10a472134fdf557ec35505eb5fb7c74ba9f2af7 (patch)
tree9593eb71abc3f724159693d46eb8504ede9529f0 /Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.h
parent0b8ac0a22f2fcebb7cbd00bbb36fd0c89191d34a (diff)
parent5efb717873691fa42447ca0d9d9810b5ad501b42 (diff)
Merge pull request #7936 from jordan-woyak/numeric-setting-cleanup
InputCommon: Clean up how numeric settings are handled.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.h')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.h b/Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.h
deleted file mode 100644
index a2729a588e..0000000000
--- a/Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2017 Dolphin Emulator Project
-// Licensed under GPLv2+
-// Refer to the license.txt file included.
-
-#pragma once
-
-#include <string>
-
-#include "InputCommon/ControllerEmu/Setting/Setting.h"
-#include "InputCommon/ControllerInterface/Device.h"
-
-namespace ControllerEmu
-{
-class BooleanSetting
-{
-public:
- BooleanSetting(const std::string& setting_name, const std::string& ui_name,
- const bool default_value, const SettingType setting_type = SettingType::NORMAL,
- const bool exclusive = false);
- BooleanSetting(const std::string& setting_name, const bool default_value,
- const SettingType setting_type = SettingType::NORMAL,
- const bool exclusive = false);
-
- bool GetValue() const;
- void SetValue(bool value);
- bool IsExclusive() const;
-
- const SettingType m_type;
- const std::string m_name;
- const std::string m_ui_name;
- const bool m_default_value;
- bool m_value;
-
-private:
- const bool m_exclusive;
-};
-
-} // namespace ControllerEmu