Add const

This commit is contained in:
Jonas Kvinge
2024-08-02 23:35:52 +02:00
parent d3dd26c596
commit 17e88bb97d
5 changed files with 20 additions and 20 deletions

View File

@@ -126,10 +126,10 @@ class EngineBase : public QObject {
virtual OutputDetailsList GetOutputsList() const = 0;
virtual bool ValidOutput(const QString &output) = 0;
virtual QString DefaultOutput() = 0;
virtual bool CustomDeviceSupport(const QString &output) = 0;
virtual bool ALSADeviceSupport(const QString &output) = 0;
virtual bool ExclusiveModeSupport(const QString &output) = 0;
virtual QString DefaultOutput() const = 0;
virtual bool CustomDeviceSupport(const QString &output) const = 0;
virtual bool ALSADeviceSupport(const QString &output) const = 0;
virtual bool ExclusiveModeSupport(const QString &output) const = 0;
// Plays a media stream represented with the URL 'u' from the given 'beginning' to the given 'end' (usually from 0 to a song's length).
// Both markers should be passed in nanoseconds. 'end' can be negative, indicating that the real length of 'u' stream is unknown.