]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decodesignal.hpp
DecoderOutputView: Directly use DecodeBinaryClass as data source
[pulseview.git] / pv / data / decodesignal.hpp
index 94913b9d8285c6291cf22ae3041f2d75412df778..5755c80e11aa0dde925b50b5713457e08142d3fa 100644 (file)
@@ -166,6 +166,8 @@ public:
        void get_binary_data_chunks_merged(uint32_t segment_id, const data::decode::Decoder* dec,
                uint8_t bin_class_id, uint64_t start_sample, uint64_t end_sample,
                vector<uint8_t> *dest) const;
+       const DecodeBinaryClass* get_binary_data_class(uint32_t segment_id,
+               const data::decode::Decoder* dec, uint8_t bin_class_id) const;
 
        virtual void save_settings(QSettings &settings) const;
 
@@ -206,7 +208,7 @@ Q_SIGNALS:
        void decoder_stacked(void* decoder); ///< decoder is of type decode::Decoder*
        void decoder_removed(void* decoder); ///< decoder is of type decode::Decoder*
        void new_annotations(); // TODO Supply segment for which they belong to
-       void new_binary_data(unsigned int segment_id, unsigned int bin_class_id);
+       void new_binary_data(unsigned int segment_id, void* decoder, unsigned int bin_class_id);
        void decode_reset();
        void decode_finished();
        void channels_updated();