diff options
| author | Michael Maltese <michaeljosephmaltese@gmail.com> | 2017-02-26 12:00:24 -0800 |
|---|---|---|
| committer | Michael Maltese <michaeljosephmaltese@gmail.com> | 2017-03-02 18:08:37 -0800 |
| commit | 1539ff669119ad796201c72052113e84862e1e98 (patch) | |
| tree | cec863647b0f6b60794e20a2be995d9dac086222 /Source/Core/InputCommon/ControllerEmu/Setting/BackgroundInputSetting.h | |
| parent | 4e062d1bf6e1754325b5d55e6df65ee3d4769a9c (diff) | |
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 |
