21 #ifndef ABSTRACTENGINE_H 22 #define ABSTRACTENGINE_H 26 #include <QStringList> 27 #include "enginefactory.h" 28 #include "qmmpsettings.h" 32 class QmmpPluginCache;
61 virtual bool play() = 0;
65 virtual void seek(qint64 time) = 0;
69 virtual void stop() = 0;
73 virtual void pause() = 0;
84 static QList<EngineFactory*> factories();
88 static QList<EngineFactory*> enabledFactories();
92 static QStringList nameFilters();
102 static void setEnabled(
EngineFactory *factory,
bool enable =
true);
123 static QStringList protocols();
133 static void loadPlugins();
134 static QList<QmmpPluginCache*> *m_cache;
135 static QStringList m_disabledNames;
139 #endif // ABSTRACTENGINE_H
The AbstractEngine class provides the base interface class of audio audio engines.
Definition: abstractengine.h:39
Engine plugin interface.
Definition: enginefactory.h:54