]> sigrok.org Git - libsigrokflow.git/commitdiff
Add base class constructors.
authorMartin Ling <redacted>
Sun, 30 Dec 2018 01:26:35 +0000 (02:26 +0100)
committerUwe Hermann <redacted>
Tue, 8 Jan 2019 18:41:58 +0000 (19:41 +0100)
src/main.cpp

index c611157a46cfbbb97fa4943ca29b1761cd70dc88..5ee4f425a68e3233fa7b8ca9abae820dc10c0f06 100644 (file)
@@ -37,6 +37,21 @@ void init()
                        "0.01", "GPLv3+", "sigrok", "libsigrokflow", "http://sigrok.org");
 }
 
+GstBlock::GstBlock(GstElement *gobj) :
+       Gst::Element(gobj)
+{
+}
+
+Device::Device(GstElement *gobj) :
+       GstBlock(gobj)
+{
+}
+
+CaptureDevice::CaptureDevice(GstElement *gobj) :
+       Device(gobj)
+{
+}
+
 void LegacyCaptureDevice::class_init(Gst::ElementClass<LegacyCaptureDevice> *klass)
 {
        klass->set_metadata("sigrok legacy capture device",