mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
ControllerInterface: HotplugCallbacks -> DevicesChangedCallbacks
This commit is contained in:
parent
7355b5f70d
commit
1ed7532af8
6 changed files with 17 additions and 18 deletions
|
@ -53,12 +53,11 @@ public:
|
|||
bool IsInit() const { return m_is_init; }
|
||||
void UpdateInput();
|
||||
|
||||
void RegisterHotplugCallback(std::function<void(void)> callback);
|
||||
void RegisterDevicesChangedCallback(std::function<void(void)> callback);
|
||||
void InvokeDevicesChangedCallbacks() const;
|
||||
|
||||
private:
|
||||
void InvokeHotplugCallbacks() const;
|
||||
|
||||
std::vector<std::function<void()>> m_hotplug_callbacks;
|
||||
std::vector<std::function<void()>> m_devices_changed_callbacks;
|
||||
bool m_is_init;
|
||||
void* m_hwnd;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue