]> sigrok.org Git - pulseview.git/blobdiff - pv/view/cursorpair.hpp
TimeItem: Added mandatory set_time virtual method
[pulseview.git] / pv / view / cursorpair.hpp
index 78780916504cda37434c641b9c0da6c001745a46..2c4d5c1c70be67a37a176b38fa41e21811a8a24c 100644 (file)
@@ -60,6 +60,11 @@ public:
         */
        std::shared_ptr<Cursor> second() const;
 
+       /**
+        * Sets the time of the marker.
+        */
+       void set_time(double time);
+
        QPoint point() const;
 
        pv::widgets::Popup* create_popup(QWidget *parent);