Go to the documentation of this file.
23 (QEvent::Type) QEvent::registerEventType();
25 (QEvent::Type) QEvent::registerEventType();
27 (QEvent::Type) QEvent::registerEventType();
29 (QEvent::Type) QEvent::registerEventType();
53 auto *str =
new QString(e.toUtf8());
80 [](QStringList& l,
const auto &
factory)
90 {return factory->supports(source); } );
102 auto supported = [source](
const auto &
factory)
106 ? (*f)->create(source,
output, deletable)
virtual bool supports(const QString &source) const =0
DecoderFactory * factory() const
static QList< DecoderFactory * > * factories
virtual const QString & description() const =0
void dispatch(const MythEvent &event)
Dispatch an event to all listeners.
static Decoder * create(const QString &source, AudioOutput *output, bool deletable=false)
virtual void unlock(void)
static const Type kStopped
void error(const QString &e)
static const Type kFinished
static const Type kDecoding
void setOutput(AudioOutput *o)
static bool supports(const QString &source)
static void checkFactories()
static void registerFactory(DecoderFactory *fact)