]> sigrok.org Git - pulseview.git/blobdiff - pv/view/analogsignal.h
Initialise Trace widgets when the trace is received by the View
[pulseview.git] / pv / view / analogsignal.h
index 5ebf501619e4c6a48473b0f89959b5374ae27520..7815261ec8cf51d9352bbdb150a377591a062f26 100644 (file)
@@ -42,11 +42,13 @@ private:
        static const float EnvelopeThreshold;
 
 public:
-       AnalogSignal(QString name,
-               boost::shared_ptr<pv::data::Analog> data, int probe_index);
+       AnalogSignal(pv::SigSession &session, const sr_probe *const probe,
+               boost::shared_ptr<pv::data::Analog> data);
 
        virtual ~AnalogSignal();
 
+       const std::list<QAction*> get_context_bar_actions();
+
        void set_scale(float scale);
 
        /**