Searched refs:DeviceCbFunc (Results 1 – 1 of 1) sorted by relevance
42 using DeviceCbFunc = std::function<void(const std::shared_ptr<InputDeviceNode>&)>; typedef45 static const DeviceCbFunc kNoopDeviceCb = [](const std::shared_ptr<InputDeviceNode>&){}; in __anon5f3141d90202()54 void setDeviceAddedCallback(const DeviceCbFunc& cb) { mDeviceAddedCb = cb; } in setDeviceAddedCallback()55 void setDeviceRemovedCallback(const DeviceCbFunc& cb) { mDeviceRemovedCb = cb; } in setDeviceRemovedCallback()70 DeviceCbFunc mDeviceAddedCb;71 DeviceCbFunc mDeviceRemovedCb;