X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fanalogsignal.hpp;h=81fdf393abb16aab3e633582a5c83060d83df0c7;hp=47a9980c0ff9dc8272aad16b391f96a8e361799d;hb=a45b9b9ee6f15da272c2e743122097e6696fc7b5;hpb=03cc651d78a85308107e0ef3e5e514503d7c723c diff --git a/pv/view/analogsignal.hpp b/pv/view/analogsignal.hpp index 47a9980c..81fdf393 100644 --- a/pv/view/analogsignal.hpp +++ b/pv/view/analogsignal.hpp @@ -32,6 +32,7 @@ namespace pv { namespace data { class Analog; class AnalogSegment; +class SignalBase; } namespace view { @@ -52,15 +53,12 @@ private: public: AnalogSignal(pv::Session &session, - std::shared_ptr channel, - std::shared_ptr data); + std::shared_ptr base); virtual ~AnalogSignal() = default; std::shared_ptr data() const; - std::shared_ptr analog_data() const; - /** * Computes the vertical extents of the contents of this row item. * @return A pair containing the minimum and maximum y-values. @@ -133,8 +131,6 @@ private Q_SLOTS: void on_resolution_changed(int index); private: - std::shared_ptr data_; - QComboBox *resolution_cb_; float scale_;