diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.co.uk> | 2011-01-04 17:55:27 +0200 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.co.uk> | 2011-01-04 17:55:27 +0200 |
commit | fff687bc227c6061c2bd2dea1eb9ce3f338542a1 (patch) | |
tree | 85da0574d7f12454be1bf1fb1bc378fc6990eb31 /src/QGst/propertyprobe.h | |
parent | b5263d56a5e0469ce282bf826f46c9366cbe5f2b (diff) |
Add a new QGlib::Interface base class for interfaces and make all interfaces inherit from there.
This will help avoid issues with interface inheritance, since theoretically
it is possible to change interface requirements without breaking ABI in the
C library, but it is not possible to change object inheritance in C++ without
breaking ABI.
Diffstat (limited to 'src/QGst/propertyprobe.h')
-rw-r--r-- | src/QGst/propertyprobe.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/QGst/propertyprobe.h b/src/QGst/propertyprobe.h index edf9249..75714e6 100644 --- a/src/QGst/propertyprobe.h +++ b/src/QGst/propertyprobe.h @@ -17,14 +17,15 @@ #ifndef QGST_PROPERTYPROBE_H #define QGST_PROPERTYPROBE_H -#include "element.h" +#include "global.h" +#include "../QGlib/object.h" namespace QGst { /*! \interface PropertyProbe propertyprobe.h <QGst/PropertyProbe> * \brief Wrapper class for GstPropertyProbe */ -class PropertyProbe : public Element +class PropertyProbe : public QGlib::Interface { QGST_WRAPPER(PropertyProbe) public: |