Common: Remove the string parameters from the HookableEvent interface.
This commit is contained in:
1 parent
5650be6842
commit
da6c65bf3b
27 files changed
+83
-125
No files matched your search
@@ -415,10 +415,9 @@ bool ControllerInterface::IsMouseCenteringRequested() const
|
||||
// Returns a handle for later removing the callback.
|
||||
|
||||
Common::EventHook
|
||||
ControllerInterface::RegisterDevicesChangedCallback(std::string_view name,
|
||||
Common::HookableEvent<>::CallbackType callback)
|
||||
ControllerInterface::RegisterDevicesChangedCallback(Common::HookableEvent<>::CallbackType callback)
|
||||
{
|
||||
return m_devices_changed_event.Register(std::move(callback), name);
|
||||
return m_devices_changed_event.Register(std::move(callback));
|
||||
}
|
||||
|
||||
// Invoke all callbacks that were registered
|
||||
|
||||
Reference in new issue
Block a user