summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-10-13 12:45:47 -0400
committerLioncash <mathew1800@gmail.com>2014-10-15 09:29:25 -0400
commitb7b2074cc2e78bb13160372ee82be7f85d0e3772 (patch)
treec5760301847ada1d17a10bfe01ec638d758d8388 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parent89123155960021d4a026f98a8fb6c1ca3a03a630 (diff)
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.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.h4
1 files changed, 2 insertions, 2 deletions
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; }