library_includedir = $(includedir)/libsigrokflow
library_include_HEADERS = \
include/libsigrokflow/libsigrokflow.hpp \
+ include/libsigrokflow/main.hpp \
include/libsigrokflow/init.hpp
pkgconfigdir = $(libdir)/pkgconfig
#include <libsigrokdecode/libsigrokdecode.h>
#endif
+#include <libsigrokflow/main.hpp>
#include <libsigrokflow/init.hpp>
namespace Srf
using namespace std;
-class Block
-{
- /* Config API etc. goes here. */
-};
-
-class Sink :
- public Gst::BaseSink
-{
-protected:
- explicit Sink(GstBaseSink *gobj);
-};
-
-class Device :
- public Gst::Element
-{
- /* Operations specific to hardware devices go here. */
-protected:
- explicit Device(GstElement *gobj);
-};
-
-class CaptureDevice :
- public Device
-{
- /* Operations specific to capture (source) devices go here. */
-protected:
- explicit CaptureDevice(GstElement *gobj);
-};
-
#ifdef HAVE_LIBSIGROKCXX
class LegacyCaptureDevice :
public CaptureDevice
--- /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_MAIN_HPP
+#define LIBSIGROKFLOW_MAIN_HPP
+
+#include <gstreamermm.h>
+
+namespace Srf
+{
+
+class Block
+{
+ /* Config API etc. goes here. */
+};
+
+class Sink :
+ public Gst::BaseSink
+{
+protected:
+ explicit Sink(GstBaseSink *gobj);
+};
+
+class Device :
+ public Gst::Element
+{
+ /* Operations specific to hardware devices go here. */
+protected:
+ explicit Device(GstElement *gobj);
+};
+
+class CaptureDevice :
+ public Device
+{
+ /* Operations specific to capture (source) devices go here. */
+protected:
+ explicit CaptureDevice(GstElement *gobj);
+};
+
+}
+#endif