X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fview.hpp;h=ad28a829096039be703c02f627cd0c246fc98df0;hb=710c2a1896fbac968c82f2d1257aaabd10a48cc8;hp=c6a7c55743caf64e9496e4c4fc0d054940cc4ab8;hpb=a47b5a3fb9912f1d6e3fcc63d59ee6cc1b5338e2;p=pulseview.git diff --git a/pv/views/trace/view.hpp b/pv/views/trace/view.hpp index c6a7c557..ad28a829 100644 --- a/pv/views/trace/view.hpp +++ b/pv/views/trace/view.hpp @@ -156,6 +156,8 @@ public: */ vector< shared_ptr > time_items() const; + shared_ptr get_reference_time_item(); + /** * Returns the view time scale in seconds per pixel. */ @@ -177,6 +179,8 @@ public: void reset_zero_position(); + pv::util::Timestamp zero_offset() const; + /** * Returns the vertical scroll offset. */ @@ -296,7 +300,7 @@ public: /** * Adds a new flag at a specified time. */ - void add_flag(const pv::util::Timestamp& time); + shared_ptr add_flag(const pv::util::Timestamp& time); /** * Removes a flag from the list.