making WEB

Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-07-11 00:45:17 +03:00
1 parent d146f11f02
commit 5c036d91fb
72 files changed
+5875 -1243

No files matched your search

+9 -3
View File
@@ -81,10 +81,16 @@ namespace Echoion::Core
[[nodiscard]] std::vector<SubscriptionManager::Subscriber>
getSubscribers() const;
// Presence events from the plugin. onClientConnected returns true
// when a subscribed user came online and playback should
// Presence events from the plugin. onClientConnected resolves the
// client once and hands the uid back so callers don't repeat the
// (plugin round-trip) lookup: subscribedUid is set when the
// client is a subscriber; mayAutoStart when playback should
// auto-start if tracks are queued.
bool onClientConnected(uint64_t clientId);
struct ClientConnectResult {
std::optional<std::string> subscribedUid;
bool mayAutoStart = false;
};
ClientConnectResult onClientConnected(uint64_t clientId);
void onClientDisconnected(uint64_t clientId);
private: