]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decodesignal.hpp
DecodeTrace: Fix on_setting_changed() handling
[pulseview.git] / pv / data / decodesignal.hpp
index 8bcc562068a13d6655425b834566968bb51420cc..9a112e9ba6342183b50a9c8c0678f492593ff27c 100644 (file)
@@ -100,7 +100,7 @@ public:
        bool is_decode_signal() const;
        const vector< shared_ptr<data::decode::Decoder> >& decoder_stack() const;
 
-       void stack_decoder(const srd_decoder *decoder);
+       void stack_decoder(const srd_decoder *decoder, bool restart_decode=true);
        void remove_decoder(int index);
        bool toggle_decoder_visibility(int index);
 
@@ -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.