DeviceManager: Don't perform scans with DMM drivers
[pulseview.git] / pv / view / trace.hpp
index f911985023b9f8e26af823d3ad9b11a59507db28..b6b15198451e74bbfd014e5591f8d451da531dfc 100644 (file)
@@ -38,6 +38,10 @@ class QFormLayout;
 
 namespace pv {
 
+namespace data {
+class SignalBase;
+}
+
 namespace widgets {
 class Popup;
 }
@@ -60,6 +64,11 @@ protected:
        Trace(shared_ptr<data::SignalBase> channel);
 
 public:
+       /**
+        * Returns the underlying SignalBase instance.
+        */
+       shared_ptr<data::SignalBase> base() const;
+
        /**
         * Sets the name of the signal.
         */
@@ -125,7 +134,6 @@ private Q_SLOTS:
 
 protected:
        shared_ptr<data::SignalBase> base_;
-       bool coloured_bg_state_;
 
 private:
        pv::widgets::Popup *popup_;