Files
EchoionCore/src/EventBus.cpp
T

15 lines
314 B
C++

#include <EventBus.hpp>
namespace Echoion::Api
{
// Global event bus instance. The EventBus type is otherwise header-only
// (it delegates to Void::EventBus); only the singleton lives here.
EventBus& GlobalEventBus::instance()
{
static EventBus instance;
return instance;
}
} // namespace Echoion::Api