Debian Codegraph @

Source/Core/InputCommon/ControllerEmu/Control/Control.cpp

raw symbols SCIP
1 // Copyright 2017 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #include "InputCommon/ControllerEmu/Control/Control.h"
5
6 #include <utility>
7 #include "InputCommon/ControlReference/ControlReference.h"
8
9 namespace ControllerEmu
10 {
11 Control::Control(std::unique_ptr<ControlReference> ref, Translatability translate_,
12 std::string name_, std::string ui_name_)
13 : control_ref(std::move(ref)), translate(translate_), name(std::move(name_)),
14 ui_name(std::move(ui_name_))
15 {
16 }
17
18 Control::Control(std::unique_ptr<ControlReference> ref, Translatability translate_,
19 std::string name_)
20 : control_ref(std::move(ref)), translate(translate_), name(name_), ui_name(std::move(name_))
21 {
22 }
23
24 Control::~Control() = default;
25 } // namespace ControllerEmu