X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fdecoder.hpp;h=ac1052e62c9dfcb1cc270455686bfc0b619e003f;hb=3919e81ffabe47405d4894ec437af83b010f4d27;hp=86a371f26c67c11d72abfe80a3715cf2292921ae;hpb=cf1541a18fcd007c9965a3199b9c4f917856b292;p=pulseview.git diff --git a/pv/data/decode/decoder.hpp b/pv/data/decode/decoder.hpp index 86a371f2..ac1052e6 100644 --- a/pv/data/decode/decoder.hpp +++ b/pv/data/decode/decoder.hpp @@ -89,6 +89,12 @@ struct DecodeChannel const srd_channel *pdch_; }; +struct DecoderLogicOutputChannel { + DecoderLogicOutputChannel (QString id, QString desc) : + id(id), desc(desc) {}; + QString id, desc; +}; + struct DecodeBinaryClassInfo { uint32_t bin_class_id; @@ -139,6 +145,9 @@ public: uint32_t get_binary_class_count() const; const DecodeBinaryClassInfo* get_binary_class(uint32_t id) const; + bool has_logic_output() const; + const vector logic_output_channels() const; + Q_SIGNALS: void annotation_visibility_changed();