equal
deleted
inserted
replaced
50 QT_BEGIN_NAMESPACE |
50 QT_BEGIN_NAMESPACE |
51 |
51 |
52 class QMediaService; |
52 class QMediaService; |
53 |
53 |
54 class QMediaServiceProviderHintPrivate; |
54 class QMediaServiceProviderHintPrivate; |
55 class Q_MEDIA_EXPORT QMediaServiceProviderHint |
55 class Q_MULTIMEDIA_EXPORT QMediaServiceProviderHint |
56 { |
56 { |
57 public: |
57 public: |
58 enum Type { Null, ContentType, Device, SupportedFeatures }; |
58 enum Type { Null, ContentType, Device, SupportedFeatures }; |
59 |
59 |
60 enum Feature { |
60 enum Feature { |
91 |
91 |
92 private: |
92 private: |
93 QSharedDataPointer<QMediaServiceProviderHintPrivate> d; |
93 QSharedDataPointer<QMediaServiceProviderHintPrivate> d; |
94 }; |
94 }; |
95 |
95 |
96 class Q_MEDIA_EXPORT QMediaServiceProvider : public QObject |
96 class Q_MULTIMEDIA_EXPORT QMediaServiceProvider : public QObject |
97 { |
97 { |
98 Q_OBJECT |
98 Q_OBJECT |
99 |
99 |
100 public: |
100 public: |
101 virtual QMediaService* requestService(const QByteArray &type, const QMediaServiceProviderHint &hint = QMediaServiceProviderHint()) = 0; |
101 virtual QMediaService* requestService(const QByteArray &type, const QMediaServiceProviderHint &hint = QMediaServiceProviderHint()) = 0; |
102 virtual void releaseService(QMediaService *service) = 0; |
102 virtual void releaseService(QMediaService *service) = 0; |
103 |
103 |
104 virtual QtMediaServices::SupportEstimate hasSupport(const QByteArray &serviceType, |
104 virtual QtMultimedia::SupportEstimate hasSupport(const QByteArray &serviceType, |
105 const QString &mimeType, |
105 const QString &mimeType, |
106 const QStringList& codecs, |
106 const QStringList& codecs, |
107 int flags = 0) const; |
107 int flags = 0) const; |
108 virtual QStringList supportedMimeTypes(const QByteArray &serviceType, int flags = 0) const; |
108 virtual QStringList supportedMimeTypes(const QByteArray &serviceType, int flags = 0) const; |
109 |
109 |