]> sigrok.org Git - libsigrokflow.git/blobdiff - src/init.cpp
Add some missing #includes.
[libsigrokflow.git] / src / init.cpp
index 344ba6aebaf1664fe37a314b848bebfba9f4afa1..0c3daca3378b08a31f515f169891af916515a029 100644 (file)
  */
 
 #include <config.h>
-#include <libsigrokflow/libsigrokflow.hpp>
+#include <gstreamermm.h>
+#include <libsigrokflow/init.hpp>
+#include <libsigrokflow/legacy_capture_device.hpp>
+#include <libsigrokflow/legacy_input.hpp>
+#include <libsigrokflow/legacy_output.hpp>
+#include <libsigrokflow/legacy_decoder.hpp>
+#include <stdexcept>
 
 namespace Srf
 {
+using namespace std;
 
 static bool srf_initialized_ = false;
 
@@ -39,24 +46,24 @@ void init()
                        "sigrok_legacy_capture_device",
                        "Wrapper for capture devices using legacy libsigrok APIs",
                        sigc::ptr_fun(&LegacyCaptureDevice::register_element),
-                       "0.01", "GPL", "sigrok", "libsigrokflow", "http://sigrok.org");
+                       "0.01", "GPL", "sigrok", "libsigrokflow", "https://sigrok.org");
        Gst::Plugin::register_static(GST_VERSION_MAJOR, GST_VERSION_MINOR,
                        "sigrok_legacy_input",
                        "Wrapper for inputs using legacy libsigrok APIs",
                        sigc::ptr_fun(&LegacyInput::register_element),
-                       "0.01", "GPL", "sigrok", "libsigrokflow", "http://sigrok.org");
+                       "0.01", "GPL", "sigrok", "libsigrokflow", "https://sigrok.org");
        Gst::Plugin::register_static(GST_VERSION_MAJOR, GST_VERSION_MINOR,
                        "sigrok_legacy_output",
                        "Wrapper for outputs using legacy libsigrok APIs",
                        sigc::ptr_fun(&LegacyOutput::register_element),
-                       "0.01", "GPL", "sigrok", "libsigrokflow", "http://sigrok.org");
+                       "0.01", "GPL", "sigrok", "libsigrokflow", "https://sigrok.org");
 #endif
 #ifdef HAVE_LIBSIGROKDECODE
        Gst::Plugin::register_static(GST_VERSION_MAJOR, GST_VERSION_MINOR,
                        "sigrok_legacy_decoder",
                        "Wrapper for protocol decoders using legacy libsigrokdecode APIs",
                        sigc::ptr_fun(&LegacyDecoder::register_element),
-                       "0.01", "GPL", "sigrok", "libsigrokflow", "http://sigrok.org");
+                       "0.01", "GPL", "sigrok", "libsigrokflow", "https://sigrok.org");
 #endif
 
        srf_initialized_ = true;