library_includedir = $(includedir)/libsigrokflow
library_include_HEADERS = \
- include/libsigrokflow/libsigrokflow.hpp
+ include/libsigrokflow/libsigrokflow.hpp \
+ include/libsigrokflow/init.hpp
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libsigrokflow.pc
--- /dev/null
+/*
+ * This file is part of the libsigrokflow project.
+ *
+ * Copyright (C) 2018 Martin Ling <martin-sigrok@earth.li>
+ * Copyright (C) 2018 Uwe Hermann <uwe@hermann-uwe.de>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef LIBSIGROKFLOW_INIT_HPP
+#define LIBSIGROKFLOW_INIT_HPP
+
+namespace Srf
+{
+
+void init();
+
+void deinit();
+
+}
+#endif
*/
#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>
namespace Srf
{
+using namespace std;
static bool srf_initialized_ = false;