Go to the documentation of this file. 1 #ifndef DECODERHANDLER_H_
2 #define DECODERHANDLER_H_
100 void error(
const QString &e);
111 void doFailed(
const QUrl &url,
const QString &message);
void doConnectDecoder(const QUrl &url, const QString &format)
MythEvent * clone(void) const override
Superclass for making an object have a set of listeners.
This class is used as a container for messages.
DecoderHandlerEvent(Type type, int available, int maxSize)
~DecoderHandlerEvent() override
DecoderHandler(void)=default
void error(const QString &e)
Class for starting stream decoding.
Events sent by the DecoderHandler and it's helper classes.
void getBufferStatus(int *available, int *maxSize) const
static const Type kOperationStart
void createPlaylistForSingleFile(const QUrl &url)
QString * getMessage(void) const
void createPlaylist(const QUrl &url)
DecoderHandlerEvent & operator=(const DecoderHandlerEvent &other)=default
Decoder * getDecoder(void)
Class for containing the info of a pls or m3u file.
void customEvent(QEvent *e) override
static const Type kOperationStop
DecoderHandlerEvent(Type type)
void start(MusicMetadata *mdata)
void doOperationStop(void)
~DecoderHandler(void) override
void doStart(bool result)
void doFailed(const QUrl &url, const QString &message)
MusicMetadata & getMetadata()
static const Type kBufferStatus
void setUrl(const QUrl &url)
MusicMetadata * getMetadata(void) const
DecoderHandlerEvent(Type type, QString *e)
void createPlaylistFromRemoteUrl(const QUrl &url)
void doOperationStart(const QString &name)
void createPlaylistFromFile(const QUrl &url)