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.
This commit is contained in:
1 parent
8912315596
commit
b7b2074cc2
5 files changed
+21
-24
No files matched your search
@@ -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; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user