Replace eventbus/EventBus.hpp (the Api::EventBus wrapper, GlobalEventBus singleton, SubscriptionToken, and the unused ECHOION_PUBLISH/SUBSCRIBE macros) with eventbus/Events.hpp — just the Events:: structs. The bus is now Void::EventBus::EventBus, owned by Core. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
34 lines
895 B
C++
34 lines
895 B
C++
#pragma once
|
|
|
|
// Main Echoion API header - backward compatibility
|
|
// Includes all submodules
|
|
|
|
// Base types
|
|
#include "api/base/Types.hpp"
|
|
|
|
// Granular type modules
|
|
#include "api/audio/AudioTypes.hpp"
|
|
#include "api/config/ConfigTypes.hpp"
|
|
#include "api/logger/LoggerInterface.hpp"
|
|
#include "api/network/NetworkInterface.hpp"
|
|
#include "api/network/NetworkTypes.hpp"
|
|
#include "api/plugin/PluginTypes.hpp"
|
|
#include "api/rpc/RpcTypes.hpp"
|
|
#include "api/track/TrackTypes.hpp"
|
|
#include "api/youtube/YouTubeTypes.hpp"
|
|
|
|
// Interfaces (decoupled)
|
|
#include "api/interfaces/CoreInterface.hpp"
|
|
#include "api/interfaces/OpaqueHandle.hpp"
|
|
#include "api/interfaces/PluginInterface.hpp"
|
|
|
|
// Utilities
|
|
#include "api/utils/MemoryPool.hpp"
|
|
|
|
// Core systems (for Core implementation only)
|
|
#include "api/database/Database.hpp"
|
|
#include "api/eventbus/Events.hpp"
|
|
|
|
// Export macros
|
|
#include "api/interfaces/Export.hpp"
|