00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef QGST_MINIOBJECT_H
00018 #define QGST_MINIOBJECT_H
00019
00020 #include "global.h"
00021 #include "../QGlib/refpointer.h"
00022 #include "../QGlib/type.h"
00023
00024 namespace QGst {
00025
00029 class QTGSTREAMER_EXPORT MiniObject : public QGlib::RefCountedObject
00030 {
00031 QGST_WRAPPER(MiniObject)
00032 public:
00033 MiniObjectPtr copy() const;
00034 bool isWritable() const;
00035 MiniObjectPtr makeWritable() const;
00036
00037 protected:
00038 virtual void ref(bool increaseRef);
00039 virtual void unref();
00040 };
00041
00042
00043 namespace Private {
00044
00045 QTGSTREAMER_EXPORT QGlib::RefCountedObject *wrapMiniObject(void *miniObject);
00046
00047 }
00048 }
00049
00050 QGST_REGISTER_TYPE(QGst::MiniObject)
00051 QGLIB_REGISTER_WRAPIMPL_FOR_SUBCLASSES_OF(QGst::MiniObject, QGst::Private::wrapMiniObject)
00052
00053 #endif