]> sigrok.org Git - pulseview.git/blobdiff - pv/view/signal.h
Added Signal::data accessor function
[pulseview.git] / pv / view / signal.h
index e5e919548be0679147730823eaf113785c3871fe..bdbd27a35f1b9554cde55dd75b1a441f0b1619b8 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef PULSEVIEW_PV_VIEW_SIGNAL_H
 #define PULSEVIEW_PV_VIEW_SIGNAL_H
 
+#include <boost/shared_ptr.hpp>
+
 #include <QComboBox>
 #include <QWidgetAction>
 
@@ -51,6 +53,8 @@ public:
         */
        void set_name(QString name);
 
+       virtual boost::shared_ptr<pv::data::SignalData> data() const = 0;
+
        /**
         * Returns true if the trace is visible and enabled.
         */