X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frow.hpp;h=25e6fcc492863f90ac97b2ae23a9a73d3b51a39c;hb=cbb2e4da8042495531b406f745ee9d9e20448ef6;hp=2411d4f61afaa2344660429fc2b76348f034a269;hpb=f98070844c2d468fdbb6beb5b65e4ccbbcd3f10b;p=pulseview.git diff --git a/pv/data/decode/row.hpp b/pv/data/decode/row.hpp index 2411d4f6..25e6fcc4 100644 --- a/pv/data/decode/row.hpp +++ b/pv/data/decode/row.hpp @@ -31,26 +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; private: int index_; - const srd_decoder *decoder_; - const srd_decoder_annotation_row *row_; + const Decoder* decoder_; + const srd_decoder_annotation_row* row_; }; } // namespace decode