From b79c294c0290886266e8c9059314903c38978db6 Mon Sep 17 00:00:00 2001 From: David Marcec Date: Sat, 6 Oct 2018 13:27:06 +1000 Subject: Removed unneeded forward declarations --- src/core/hle/service/hid/controllers/npad.h | 8 +------- src/core/hle/service/hid/controllers/touchscreen.h | 7 +------ 2 files changed, 2 insertions(+), 13 deletions(-) (limited to 'src/core/hle') diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h index e5c212aa5..2d1614747 100644 --- a/src/core/hle/service/hid/controllers/npad.h +++ b/src/core/hle/service/hid/controllers/npad.h @@ -6,16 +6,10 @@ #include #include "common/common_types.h" +#include "core/frontend/input.h" #include "core/hle/service/hid/controllers/controller_base.h" #include "core/settings.h" -namespace Input { -template -class InputDevice; -using ButtonDevice = InputDevice; -using AnalogDevice = InputDevice>; -} // namespace Input - namespace Service::HID { class Controller_NPad final : public ControllerBase { diff --git a/src/core/hle/service/hid/controllers/touchscreen.h b/src/core/hle/service/hid/controllers/touchscreen.h index 82a3d4a1a..1d97b6c2a 100644 --- a/src/core/hle/service/hid/controllers/touchscreen.h +++ b/src/core/hle/service/hid/controllers/touchscreen.h @@ -7,14 +7,9 @@ #include "common/common_funcs.h" #include "common/common_types.h" #include "common/swap.h" +#include "core/frontend/input.h" #include "core/hle/service/hid/controllers/controller_base.h" -namespace Input { -template -class InputDevice; -using TouchDevice = InputDevice>; -} // namespace Input - namespace Service::HID { class Controller_Touchscreen final : public ControllerBase { public: -- cgit v1.2.3