00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef QGST_URIHANDLER_H
00018 #define QGST_URIHANDLER_H
00019
00020 #include "global.h"
00021 #include "../QGlib/object.h"
00022 class QUrl;
00023
00024 namespace QGst {
00025
00029 class QTGSTREAMER_EXPORT UriHandler : public QGlib::Interface
00030 {
00031 QGST_WRAPPER_DIFFERENT_C_CLASS(UriHandler, URIHandler)
00032 public:
00033 static bool protocolIsSupported(UriType type, const char *protocol);
00034 static ElementPtr makeFromUri(UriType type, const QUrl & uri, const char *elementName = NULL);
00035
00036 UriType uriType() const;
00037 QStringList supportedProtocols() const;
00038 QUrl uri() const;
00039 bool setUri(const QUrl & uri);
00040 };
00041
00042 }
00043
00044 QGST_REGISTER_TYPE(QGst::UriHandler)
00045 QGLIB_REGISTER_INTERFACE(QGst::UriHandler)
00046
00047 #endif // QGST_URIHANDLER_H