X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frow.hpp;h=25e6fcc492863f90ac97b2ae23a9a73d3b51a39c;hb=cbb2e4da8042495531b406f745ee9d9e20448ef6;hp=8486c5075fe0bd39d09736c750ace8bf5e2109f8;hpb=8400211329afbb76fb71dfd969b1149e5a6d2ff4;p=pulseview.git diff --git a/pv/data/decode/row.hpp b/pv/data/decode/row.hpp index 8486c507..25e6fcc4 100644 --- a/pv/data/decode/row.hpp +++ b/pv/data/decode/row.hpp @@ -31,28 +31,30 @@ namespace pv { namespace data { namespace decode { +class Decoder; + class Row { public: Row(); - Row(int index, const srd_decoder *decoder, - const srd_decoder_annotation_row *row = nullptr); + Row(int index, const Decoder* decoder, + const srd_decoder_annotation_row* row = nullptr); - const srd_decoder* decoder() const; - const srd_decoder_annotation_row* row() const; + const Decoder* decoder() const; + const srd_decoder_annotation_row* srd_row() const; const QString title() const; const QString class_name() const; int index() const; - bool operator<(const Row &other) const; - bool operator==(const Row &other) const; + bool operator<(const Row& other) const; + bool operator==(const Row& other) const; private: int index_; - const srd_decoder *decoder_; - const srd_decoder_annotation_row *row_; + const Decoder* decoder_; + const srd_decoder_annotation_row* row_; }; } // namespace decode