1 parent
01362d2e51
commit
39aff68d8d
29 files changed
+2061
-1818
No files matched your search
@@ -21,6 +21,7 @@ namespace Echoion::Core
|
||||
public:
|
||||
|
||||
void setSources(std::vector<std::shared_ptr<ITrackSource>> sources);
|
||||
void addSource(std::shared_ptr<ITrackSource> source);
|
||||
|
||||
// Reorder/enable per config; names not found are ignored, sources
|
||||
// not named are dropped from the chain.
|
||||
@@ -59,9 +60,9 @@ namespace Echoion::Core
|
||||
std::chrono::steady_clock::time_point cooldownUntil{};
|
||||
};
|
||||
|
||||
[[nodiscard]] std::vector<SourceState*>
|
||||
[[nodiscard]] std::vector<std::shared_ptr<ITrackSource>>
|
||||
candidatesFor(const std::string& query, bool needSearch);
|
||||
void reportFailure(SourceState& state);
|
||||
void reportFailure(const std::shared_ptr<ITrackSource>& source);
|
||||
|
||||
mutable std::mutex mutex_;
|
||||
std::vector<std::shared_ptr<ITrackSource>> allSources_;
|
||||
|
||||
Reference in new issue
Block a user