X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fdecoder.h;h=264920a723422c9bf51f5e1fb6947e9f5e03f759;hb=e92cd4e4cddac2639c1a5e278124b5bb22ace10f;hp=c881403b42e22f8f1391d4d80c94e2ecaee1cf12;hpb=9cef95672622f4ecdb21edef9d81a10c789daf1e;p=pulseview.git diff --git a/pv/data/decoder.h b/pv/data/decoder.h index c881403b..264920a7 100644 --- a/pv/data/decoder.h +++ b/pv/data/decoder.h @@ -30,9 +30,13 @@ #include +#include + struct srd_decoder; struct srd_decoder_inst; struct srd_probe; +struct srd_proto_data; +struct srd_session; namespace pv { @@ -76,7 +80,7 @@ public: private: void begin_decode(); - void init_decoder(); + bool init_decoder(); void decode_proc(boost::shared_ptr data); @@ -92,6 +96,7 @@ private: _probes; GHashTable *_options; + srd_session *_session; srd_decoder_inst *_decoder_inst; mutable boost::mutex _annotations_mutex;