]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/rowdata.hpp
TabularDecView: Make the model/view work
[pulseview.git] / pv / data / decode / rowdata.hpp
index 01ea94f4586c7390601c28ea61e68c76a5ca960d..48b6a41a68a260783dd0740b8ac57f63448eb4e9 100644 (file)
@@ -52,7 +52,7 @@ public:
        void get_annotation_subset(deque<const pv::data::decode::Annotation*> &dest,
                uint64_t start_sample, uint64_t end_sample) const;
 
-       void emplace_annotation(srd_proto_data *pdata);
+       const Annotation* emplace_annotation(srd_proto_data *pdata);
 
 private:
        deque<Annotation> annotations_;