feat: add event bus to engine public API

This commit is contained in:
Samsonium
2026-09-29 13:10:54 +03:00
parent 045fe533d2
commit ff0453e81d
3 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
#ifndef __MSC_ENGINE_MODULE_API_HPP__
#define __MSC_ENGINE_MODULE_API_HPP__
#include <engine/core/engine_bus.hpp>
typedef void UNIMPL;
class IMscEngineModuleAPI
@@ -9,7 +11,7 @@ public:
virtual ~IMscEngineModuleAPI() = default;
/// Get access to engine event bus
virtual UNIMPL getBus() const = 0;
virtual MscEventBus &getBus() = 0;
/// Get access to loaded module list
virtual UNIMPL getLoadedModules() const = 0;