Wrapped Cursors in a shared_ptr
[pulseview.git] / pv / view / view.h
index 0f5e254da4f12681dfff1f10621c91c0af1b9422..155c875b777c8143bbd34fe8a88336388214a8ba 100644 (file)
@@ -106,6 +106,11 @@ public:
         */
        CursorPair& cursors();
 
+       /**
+        * Returns a reference to the pair of cursors.
+        */
+       const CursorPair& cursors() const;
+
        const QPoint& hover_point() const;
 
        void normalize_layout();
@@ -115,6 +120,8 @@ signals:
 
        void signals_moved();
 
+       void selection_changed();
+
 private:
        void get_scroll_layout(double &length, double &offset) const;