X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frow.hpp;h=2411d4f61afaa2344660429fc2b76348f034a269;hp=5ddd10d3318fb2b0c9e0d399fa8b83915164d45f;hb=f98070844c2d468fdbb6beb5b65e4ccbbcd3f10b;hpb=bc4b9ccfc78d9d0987525360fa6d93bed681951a diff --git a/pv/data/decode/row.hpp b/pv/data/decode/row.hpp index 5ddd10d..2411d4f 100644 --- a/pv/data/decode/row.hpp +++ b/pv/data/decode/row.hpp @@ -36,17 +36,19 @@ class Row public: Row(); - Row(const srd_decoder *decoder, + Row(int index, const srd_decoder *decoder, const srd_decoder_annotation_row *row = nullptr); const srd_decoder* decoder() const; const srd_decoder_annotation_row* row() const; const QString title() const; + int index() const; bool operator<(const Row &other) const; private: + int index_; const srd_decoder *decoder_; const srd_decoder_annotation_row *row_; };