]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decodesignal.hpp
Fix #977 properly by checking whether a row actually has annotations
[pulseview.git] / pv / data / decodesignal.hpp
index 74ffbd1ff470c64cd88678ef429ccfc739997883..9a112e9ba6342183b50a9c8c0678f492593ff27c 100644 (file)
@@ -139,7 +139,9 @@ public:
        int64_t get_decoded_sample_count(uint32_t segment_id,
                bool include_processing) const;
 
-       vector<decode::Row> get_rows(bool visible_only) const;
+       vector<decode::Row> get_rows() const;
+
+       uint64_t get_annotation_count(const decode::Row &row, uint32_t segment_id) const;
 
        /**
         * Extracts annotations from a single row into a vector.