X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fsignal.hpp;h=ca8eea2e4a85f3820de0c6b883bed9f8e69d6812;hp=c9f38dd96107657d7e16fd6fb05b71a16488dfa2;hb=HEAD;hpb=0a952555b9d153f42912e47f35fac5dd4643fca9 diff --git a/pv/views/trace/signal.hpp b/pv/views/trace/signal.hpp index c9f38dd9..e10e93ea 100644 --- a/pv/views/trace/signal.hpp +++ b/pv/views/trace/signal.hpp @@ -17,8 +17,8 @@ * along with this program; if not, see . */ -#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_SIGNAL_HPP -#define PULSEVIEW_PV_VIEWS_TRACEVIEW_SIGNAL_HPP +#ifndef PULSEVIEW_PV_VIEWS_TRACE_SIGNAL_HPP +#define PULSEVIEW_PV_VIEWS_TRACE_SIGNAL_HPP #include @@ -62,7 +62,7 @@ class Signal : public Trace, public ViewItemOwner Q_OBJECT protected: - Signal(pv::Session &session, shared_ptr channel); + Signal(pv::Session &session, shared_ptr signal); public: /** @@ -70,8 +70,6 @@ public: */ virtual void set_name(QString name); - virtual shared_ptr data() const = 0; - /** * Determines the closest level change (i.e. edge) to a given sample, which * is useful for e.g. the "snap to edge" functionality. @@ -119,4 +117,4 @@ protected: } // namespace views } // namespace pv -#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_SIGNAL_HPP +#endif // PULSEVIEW_PV_VIEWS_TRACE_SIGNAL_HPP