equal
deleted
inserted
replaced
45 #include "qt7serviceplugin.h" |
45 #include "qt7serviceplugin.h" |
46 #include "qt7playerservice.h" |
46 #include "qt7playerservice.h" |
47 |
47 |
48 #include <qmediaserviceprovider.h> |
48 #include <qmediaserviceprovider.h> |
49 |
49 |
50 QTM_BEGIN_NAMESPACE |
50 QT_BEGIN_NAMESPACE |
51 |
51 |
52 QStringList QT7ServicePlugin::keys() const |
52 QStringList QT7ServicePlugin::keys() const |
53 { |
53 { |
54 return QStringList() << QLatin1String(Q_MEDIASERVICE_MEDIAPLAYER); |
54 return QStringList() << QLatin1String(Q_MEDIASERVICE_MEDIAPLAYER); |
55 } |
55 } |
67 void QT7ServicePlugin::release(QMediaService *service) |
67 void QT7ServicePlugin::release(QMediaService *service) |
68 { |
68 { |
69 delete service; |
69 delete service; |
70 } |
70 } |
71 |
71 |
72 Q_EXPORT_PLUGIN2(qt7_serviceplugin, QT7ServicePlugin); |
72 Q_EXPORT_PLUGIN2(qtmedia_qt7engine, QT7ServicePlugin); |
73 |
73 |
74 QTM_END_NAMESPACE |
74 QT_END_NAMESPACE |