2021-01-13 17:28:27 +01:00
|
|
|
#include <hex/api/event.hpp>
|
2020-12-22 18:10:01 +01:00
|
|
|
|
|
|
|
namespace hex {
|
|
|
|
|
2023-07-26 13:50:51 +02:00
|
|
|
std::map<void *, EventManager::EventList::iterator>& EventManager::getTokenStore() {
|
|
|
|
static std::map<void *, EventManager::EventList::iterator> tokenStore;
|
|
|
|
|
|
|
|
return tokenStore;
|
|
|
|
}
|
|
|
|
|
|
|
|
EventManager::EventList& EventManager::getEvents() {
|
|
|
|
static EventManager::EventList events;
|
|
|
|
|
|
|
|
return events;
|
|
|
|
}
|
|
|
|
|
2020-12-22 18:10:01 +01:00
|
|
|
|
|
|
|
}
|