mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Separated tests into different files, added ResetInstance() method to EventManager
This commit is contained in:
@@ -11,6 +11,10 @@ EventManager& EventManager::GetInstance() {
|
||||
return *singleton.get();
|
||||
}
|
||||
|
||||
void EventManager::ResetInstance() {
|
||||
singleton = nullptr;
|
||||
}
|
||||
|
||||
void EventManager::get(std::vector<APIEvent>& eventOutput, size_t max, EventFilter filter) {
|
||||
std::lock_guard<std::mutex> lk(mutex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user