diff options
| author | Matthew Parlane <parlane@gmail.com> | 2017-03-03 15:17:25 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-03 15:17:25 +1300 |
| commit | 51e932b4ec24b0225a80c66a39c906f6e95f7519 (patch) | |
| tree | 80caad500844500871f06ff2e26af57f1acb4b73 /Source/Core/InputCommon/ControllerEmu/Setting/BackgroundInputSetting.h | |
| parent | 1392b88879a624ad9ac689a539260f664dc86372 (diff) | |
| parent | 1539ff669119ad796201c72052113e84862e1e98 (diff) | |
Merge pull request #4975 from ligfx/controlsetting
InputCommon: move Setting classes out of ControlGroup
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/Setting/BackgroundInputSetting.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/Setting/BackgroundInputSetting.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/Setting/BackgroundInputSetting.h b/Source/Core/InputCommon/ControllerEmu/Setting/BackgroundInputSetting.h new file mode 100644 index 0000000000..fc1f8c1de3 --- /dev/null +++ b/Source/Core/InputCommon/ControllerEmu/Setting/BackgroundInputSetting.h @@ -0,0 +1,20 @@ +// Copyright 2017 Dolphin Emulator Project +// Licensed under GPLv2+ +// Refer to the license.txt file included. + +#pragma once + +#include "InputCommon/ControllerEmu/Setting/BooleanSetting.h" + +namespace ControllerEmu +{ +class BackgroundInputSetting : public BooleanSetting +{ +public: + BackgroundInputSetting(const std::string& setting_name); + + bool GetValue() const override; + void SetValue(bool value) override; +}; + +} // namespace ControllerEmu |
