]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/view.hpp
Style and architecture fixes
[pulseview.git] / pv / views / trace / view.hpp
index c6a7c55743caf64e9496e4c4fc0d054940cc4ab8..e056805b4d798da23a2f2407ac3d5818e4e0c553 100644 (file)
@@ -177,6 +177,8 @@ public:
 
        void reset_zero_position();
 
+       pv::util::Timestamp zero_offset() const;
+
        /**
         * Returns the vertical scroll offset.
         */
@@ -296,7 +298,7 @@ public:
        /**
         * Adds a new flag at a specified time.
         */
-       void add_flag(const pv::util::Timestamp& time);
+       shared_ptr<Flag> add_flag(const pv::util::Timestamp& time);
 
        /**
         * Removes a flag from the list.