X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecoder.h;h=93d8fa6a89fb8dae531e48d9f01e0f7c5d4526d7;hb=b213ef0991a13af0c74ffe5c54382c5c455c5496;hp=4cae427ea95813e842be6aaa25fb93641ee0de1d;hpb=e0fc58100fbcd6c3bfd5aecb213d7541a3436622;p=pulseview.git diff --git a/pv/data/decoder.h b/pv/data/decoder.h index 4cae427..93d8fa6 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 { @@ -61,7 +65,8 @@ private: public: Decoder(const srd_decoder *const decoder, std::map > probes); + boost::shared_ptr > probes, + GHashTable *options); virtual ~Decoder(); @@ -82,11 +87,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 > _probes; + GHashTable *_options; + srd_session *_session; srd_decoder_inst *_decoder_inst; mutable boost::mutex _annotations_mutex;