X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fsigsession.h;h=50768e6caf037152aafc62cf21ebae4799c4fb83;hb=82c7f64018db2a90f44704e55ba469151522762f;hp=88c603e20127baeb171d97b3ddbb154762c5d7cf;hpb=55d3603d6a81995e613535a18a0949b3c469ac8a;p=pulseview.git diff --git a/pv/sigsession.h b/pv/sigsession.h index 88c603e..50768e6 100644 --- a/pv/sigsession.h +++ b/pv/sigsession.h @@ -34,6 +34,8 @@ #include +struct srd_decoder; + namespace pv { class DeviceManager; @@ -46,6 +48,7 @@ class LogicSnapshot; } namespace view { +class DecodeSignal; class Signal; } @@ -89,6 +92,8 @@ public: boost::shared_ptr get_data(); + void add_decoder(srd_decoder *const dec); + private: void set_capture_state(capture_state state); @@ -147,6 +152,8 @@ private: */ struct sr_dev_inst *_sdi; + std::vector< boost::shared_ptr > _decode_traces; + mutable boost::mutex _sampling_mutex; capture_state _capture_state;