00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef QGST_OBJECT_H
00018 #define QGST_OBJECT_H
00019
00020 #include "global.h"
00021 #include "../QGlib/object.h"
00022
00023 namespace QGst {
00024
00028 class QTGSTREAMER_EXPORT Object : public QGlib::Object
00029 {
00030 QGST_WRAPPER(Object)
00031 public:
00032 QString name() const;
00033 bool setName(const char *name);
00034
00035 ObjectPtr parent() const;
00036 bool setParent(const ObjectPtr & parent);
00037 void unparent();
00038
00039 bool isAncestorOf(const ObjectPtr & object) const;
00040
00041 QString pathString() const;
00042
00043 protected:
00044 virtual void ref(bool increaseRef);
00045 virtual void unref();
00046 };
00047
00048 }
00049
00050 QGST_REGISTER_TYPE(QGst::Object)
00051
00052 #endif // QGST_OBJECT_H