ControllerInterface: mixed comments

This commit is contained in:
Filoppi
2021-05-15 11:32:00 +03:00
parent c285ae57fb
commit f90d851e25
5 changed files with 21 additions and 0 deletions

View File

@ -67,6 +67,9 @@ public:
void Shutdown();
void AddDevice(std::shared_ptr<ciface::Core::Device> device);
void RemoveDevice(std::function<bool(const ciface::Core::Device*)> callback);
// This is mandatory to use on device populations functions that can be called concurrently by
// more than one thread, or that are called by a single other thread.
// Without this, our devices list might end up in a mixed state.
void PlatformPopulateDevices(std::function<void()> callback);
bool IsInit() const { return m_is_init; }
void UpdateInput();