diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-02-05 01:22:59 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-02-05 01:22:59 (GMT) |
commit | f4646f4810983536cbf0084cd1e5c6dc9a5b2a5d (patch) | |
tree | 5b0c84211248207f3d6206a95ea88909ff5bd764 /src/multimedia/base/qmediaserviceprovider.h | |
parent | 49797723461c812ebe2f53da0583323d0314d02a (diff) | |
download | Qt-f4646f4810983536cbf0084cd1e5c6dc9a5b2a5d.zip Qt-f4646f4810983536cbf0084cd1e5c6dc9a5b2a5d.tar.gz Qt-f4646f4810983536cbf0084cd1e5c6dc9a5b2a5d.tar.bz2 |
Add an internal function for setting the default media servie provider.
This allows auto tests to override the default service provider.
Diffstat (limited to 'src/multimedia/base/qmediaserviceprovider.h')
-rw-r--r-- | src/multimedia/base/qmediaserviceprovider.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/multimedia/base/qmediaserviceprovider.h b/src/multimedia/base/qmediaserviceprovider.h index 46f63b5..f108d32 100644 --- a/src/multimedia/base/qmediaserviceprovider.h +++ b/src/multimedia/base/qmediaserviceprovider.h @@ -115,6 +115,10 @@ public: virtual QString deviceDescription(const QByteArray &serviceType, const QByteArray &device); static QMediaServiceProvider* defaultServiceProvider(); + +#ifdef QT_BUILD_INTERNAL + static void setDefaultServiceProvider(QMediaServiceProvider *provider); +#endif }; /*! |