From b7b2074cc2e78bb13160372ee82be7f85d0e3772 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 13 Oct 2014 12:45:47 -0400 Subject: ControllerInterface: Get rid of SetHwnd(), introduce Reinitialize() Initialize now just takes the handle directly. Reinitialize is added because it is much more straightforward in comparison to doing the Shutdown-Initialize manually. --- Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h') diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h index 24bb493520..2420b65ed7 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h @@ -114,8 +114,8 @@ public: ControllerInterface() : m_is_init(false), m_hwnd(nullptr) {} - void SetHwnd(void* const hwnd); - void Initialize(); + void Initialize(void* const hwnd); + void Reinitialize(); void Shutdown(); bool IsInit() const { return m_is_init; } -- cgit v1.2.3