Remove the last remainders of the old plugin system
Port the last two currently unused plugins (v4l and wmf) over to the new plugin format. Fix documentation that still mentioned Q_EXPORT_PLUGIN. Change-Id: I18200dd792e8973687e92180fc41d11395b35132 Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
@@ -50,12 +50,6 @@
|
||||
#include <qmediaserviceprovider.h>
|
||||
|
||||
|
||||
QStringList V4LServicePlugin::keys() const
|
||||
{
|
||||
return QStringList() <<
|
||||
QLatin1String(Q_MEDIASERVICE_RADIO);
|
||||
}
|
||||
|
||||
QMediaService* V4LServicePlugin::create(QString const& key)
|
||||
{
|
||||
if (key == QLatin1String(Q_MEDIASERVICE_RADIO))
|
||||
@@ -78,7 +72,3 @@ QString V4LServicePlugin::deviceDescription(const QByteArray &service, const QBy
|
||||
{
|
||||
return QString();
|
||||
}
|
||||
|
||||
|
||||
Q_EXPORT_PLUGIN2(qtmedia_v4lengine, V4LServicePlugin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user