#include <getopt.h>
#include <vector>
+#ifdef ENABLE_FLOW
#include <gstreamermm.h>
+#include <libsigrokflow/libsigrokflow.hpp>
+#endif
#include <libsigrokcxx/libsigrokcxx.hpp>
bool do_scan = true;
bool show_version = false;
+#ifdef ENABLE_FLOW
// Initialise gstreamermm. Must be called before any other GLib stuff.
Gst::init();
+ // Initialize libsigrokflow. Must be called after Gst::init().
+ Srf::init();
+#endif
+
Application a(argc, argv);
#ifdef ANDROID