X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frow.hpp;h=2411d4f61afaa2344660429fc2b76348f034a269;hp=8105887450fcab824772fb050eb43da150e40ca8;hb=f98070844c2d468fdbb6beb5b65e4ccbbcd3f10b;hpb=efdec55aec1a137460fa362a381ed1904182bfed diff --git a/pv/data/decode/row.hpp b/pv/data/decode/row.hpp index 8105887..2411d4f 100644 --- a/pv/data/decode/row.hpp +++ b/pv/data/decode/row.hpp @@ -36,23 +36,25 @@ 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_; }; -} // decode -} // data -} // pv +} // namespace decode +} // namespace data +} // namespace pv #endif // PULSEVIEW_PV_DATA_DECODE_ROW_HPP