summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/Control/Control.h
blob: 1f7a64ed5041534b0bd3aa1e6c2d1dfd7d184d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include <memory>
#include <string>

class ControlReference;

namespace ControllerEmu
{
class Control
{
public:
  virtual ~Control();

  std::unique_ptr<ControlReference> const control_ref;
  const std::string name;

protected:
  Control(std::unique_ptr<ControlReference> ref, const std::string& name);
};
}  // namespace ControllerEmu