TimeMarker: Added get_text
[pulseview.git] / pv / view / cursor.hpp
index 9f0adeddbd8eb0bdd20e16ded2fd16d6036533cc..fab7497e18830c53128277be14a801742105afb4 100644 (file)
@@ -48,6 +48,11 @@ public:
        Cursor(View &view, double time);
 
 public:
+       /**
+        * Gets the text to show in the marker.
+        */
+       QString get_text() const;
+
        /**
         * Gets the marker label rectangle.
         * @param rect The rectangle of the ruler client area.