]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decoder.h
Modified Decoder to support srd_sessions
[pulseview.git] / pv / data / decoder.h
index 8a0f00a42a5a731bb83b48d3a2c0bd6a3ce05e13..5a4b4a991f32adadca0c029b4227db0b5e5f694a 100644 (file)
@@ -33,6 +33,7 @@
 struct srd_decoder;
 struct srd_decoder_inst;
 struct srd_probe;
+struct srd_session;
 
 namespace pv {
 
@@ -83,12 +84,16 @@ private:
        static void annotation_callback(srd_proto_data *pdata,
                void *decoder);
 
+signals:
+       void new_decode_data();
+
 private:
        const srd_decoder *const _decoder;
        std::map<const srd_probe*, boost::shared_ptr<view::Signal> >
                _probes;
        GHashTable *_options;
 
+       srd_session *_session;
        srd_decoder_inst *_decoder_inst;
 
        mutable boost::mutex _annotations_mutex;