summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.cpp
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.cpp
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.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.cpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.cpp b/Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.cpp
deleted file mode 100644
index d9aa61b9f6..0000000000
--- a/Source/Core/InputCommon/ControllerEmu/Setting/BooleanSetting.cpp
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2017 Dolphin Emulator Project
-// Licensed under GPLv2+
-// Refer to the license.txt file included.
-
-#include "InputCommon/ControllerEmu/Setting/BooleanSetting.h"
-
-namespace ControllerEmu
-{
-BooleanSetting::BooleanSetting(const std::string& setting_name, const std::string& ui_name,
- const bool default_value, const SettingType setting_type,
- const bool exclusive)
- : m_type(setting_type), m_name(setting_name), m_ui_name(ui_name),
- m_default_value(default_value), m_value(default_value), m_exclusive(exclusive)
-{
-}
-
-BooleanSetting::BooleanSetting(const std::string& setting_name, const bool default_value,
- const SettingType setting_type, const bool exclusive)
- : BooleanSetting(setting_name, setting_name, default_value, setting_type, exclusive)
-{
-}
-
-bool BooleanSetting::GetValue() const
-{
- return m_value;
-}
-
-bool BooleanSetting::IsExclusive() const
-{
- return m_exclusive;
-}
-
-void BooleanSetting::SetValue(bool value)
-{
- m_value = value;
-}
-
-} // namespace ControllerEmu