Go to the documentation of this file.
25 (QEvent::Type) QEvent::registerEventType();
27 (QEvent::Type) QEvent::registerEventType();
29 (QEvent::Type) QEvent::registerEventType();
31 (QEvent::Type) QEvent::registerEventType();
55 auto *str =
new QString(
e.toUtf8());
82 [](QStringList l,
const auto &
factory)
92 {return factory->supports(source); } );
104 auto supported = [source](
const auto &
factory)
108 ? (*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)
void error(const QString &e)
void setOutput(AudioOutput *o)
static bool supports(const QString &source)
static void checkFactories()
static void registerFactory(DecoderFactory *fact)