X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecoder.h;h=cdeb7e7a59adc0a449937a7df5ec51a02d73f601;hb=3045c869ada2e32bf55cbb68633b5213b9b11e28;hp=5a4b4a991f32adadca0c029b4227db0b5e5f694a;hpb=9d20a7415bfe41d8985fb026ef0ba164de08c313;p=pulseview.git diff --git a/pv/data/decoder.h b/pv/data/decoder.h index 5a4b4a9..cdeb7e7 100644 --- a/pv/data/decoder.h +++ b/pv/data/decoder.h @@ -30,15 +30,18 @@ #include +#include + struct srd_decoder; struct srd_decoder_inst; struct srd_probe; +struct srd_proto_data; struct srd_session; namespace pv { namespace view { -class Signal; +class LogicSignal; namespace decode { class Annotation; @@ -62,7 +65,7 @@ private: public: Decoder(const srd_decoder *const decoder, std::map > probes, + boost::shared_ptr > probes, GHashTable *options); virtual ~Decoder(); @@ -77,7 +80,7 @@ public: private: void begin_decode(); - void init_decoder(); + bool init_decoder(); void decode_proc(boost::shared_ptr data); @@ -89,7 +92,7 @@ signals: private: const srd_decoder *const _decoder; - std::map > + std::map > _probes; GHashTable *_options;