Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-07-15 19:50:07 +03:00
1 parent 295542ab9e
commit 24075fbd52
11 files changed
+305 -133

No files matched your search

@@ -21,7 +21,7 @@ namespace Echoion::Api
struct QueueEntry;
struct PlaylistInfo;
// Minimal PlaybackState for Plugin
// Minimal playback state for the host boundary.
struct PlaybackSummary {
std::optional<TrackSummary> currentTrack;
bool isPlaying = false;
@@ -42,7 +42,7 @@ namespace Echoion::Api
using CoreCreateFunc = std::function<CoreInterfacePtr()>;
using CoreDestroyFunc = std::function<void(ICoreInterface*)>;
// Core interface that the Plugin will use to communicate with the Core
// Core interface used by the standalone host to communicate with Core.
// MINIMAL VERSION - breaks dependencies on Core-specific types
class ICoreInterface
{
@@ -51,7 +51,7 @@ namespace Echoion::Api
virtual ~ICoreInterface() = default;
// Lifecycle
// Plugin passes config file path, Core loads config internally
// The host passes a config path; Core loads it internally.
virtual Result<void>
initialize(const std::filesystem::path& configPath) = 0;
virtual Result<void> shutdown() = 0;