X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frowdata.hpp;h=0012acd4523ecfc7339a5a30809ab78de2ddef57;hp=3c967ff70b1e8998d60903c39bcc35e2e8fcc2ce;hb=6a26fc4417798ab21654197e105e707a14d462f0;hpb=c6b4e925a8c5d855a70ab2815e8bc1c371d5801a diff --git a/pv/data/decode/rowdata.hpp b/pv/data/decode/rowdata.hpp index 3c967ff7..0012acd4 100644 --- a/pv/data/decode/rowdata.hpp +++ b/pv/data/decode/rowdata.hpp @@ -24,7 +24,7 @@ #include -#include "annotation.hpp" +#include using std::vector; @@ -37,7 +37,7 @@ class Row; class RowData { public: - RowData() = default; + RowData(Row* row); public: uint64_t get_max_sample() const; @@ -53,10 +53,11 @@ public: vector &dest, uint64_t start_sample, uint64_t end_sample) const; - void emplace_annotation(srd_proto_data *pdata, const Row *row); + void emplace_annotation(srd_proto_data *pdata); private: vector annotations_; + const Row* row_; }; } // namespace decode