diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-12-21 17:18:43 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-01-21 06:45:24 +0000 |
commit | f153fcdaf82d8724cbb03248df48c2c8641529e8 (patch) | |
tree | 2239b96946ee2d7215b83e7e0a86131a347694d3 /tests/auto/unit/qmultimedia_common | |
parent | a2a6eb5f89c16f2468e3b57bde5572e418423eff (diff) | |
download | qtmultimedia-f153fcdaf82d8724cbb03248df48c2c8641529e8.tar.gz |
First step in cleaning up the plugin loading code
Stop assuming that there are multiple plugins providing
the same service. We'll have exactly one plugin for a
service in the future and not provide several.
The reason is that we will focus on having one good and
functional multimedia backend per platform, not the mix
of many semi-functional ones as we have today.
Change-Id: I809d4c99a56a48369d0ba283af78b1c41740d92a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'tests/auto/unit/qmultimedia_common')
-rw-r--r-- | tests/auto/unit/qmultimedia_common/mockmediaserviceprovider.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/unit/qmultimedia_common/mockmediaserviceprovider.h b/tests/auto/unit/qmultimedia_common/mockmediaserviceprovider.h index f533e03f6..7be88a9fa 100644 --- a/tests/auto/unit/qmultimedia_common/mockmediaserviceprovider.h +++ b/tests/auto/unit/qmultimedia_common/mockmediaserviceprovider.h @@ -42,7 +42,7 @@ public: { } - QMediaService *requestService(const QByteArray &, const QMediaServiceProviderHint &) + QMediaService *requestService(const QByteArray &) { return service; } @@ -55,12 +55,12 @@ public: } } - QMediaServiceProviderHint::Features supportedFeatures(const QMediaService *) const + QMediaServiceFeaturesInterface::Features supportedFeatures(const QMediaService *) const { return features; } - void setSupportedFeatures(QMediaServiceProviderHint::Features f) + void setSupportedFeatures(QMediaServiceFeaturesInterface::Features f) { features = f; } @@ -91,7 +91,7 @@ public: QMediaService *service; bool deleteServiceOnRelease; - QMediaServiceProviderHint::Features features; + QMediaServiceFeaturesInterface::Features features; }; #endif // MOCKMEDIASERVICEPROVIDER_H |