X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fdecoder.h;h=4eeb09e1af01718091ef3456604b886aea548a21;hb=6ac6242b25cfbd4df14abe7580adc9d0f4cffe43;hp=dffefab22e2119f6a44fc7a2dbe869196320d431;hpb=8bd26d8b9c831b509ee3241ea4dac6f50c023622;p=pulseview.git diff --git a/pv/data/decode/decoder.h b/pv/data/decode/decoder.h index dffefab..4eeb09e 100644 --- a/pv/data/decode/decoder.h +++ b/pv/data/decode/decoder.h @@ -22,10 +22,9 @@ #define PULSEVIEW_PV_DATA_DECODE_DECODER_H #include +#include #include -#include - #include struct srd_decoder; @@ -58,28 +57,28 @@ public: void show(bool show = true); const std::map >& channels() const; - void set_probes(std::map > probes); + std::shared_ptr >& channels() const; + void set_channels(std::map > channels); const std::map& options() const; void set_option(const char *id, GVariant *value); - bool have_required_probes() const; + bool have_required_channels() const; srd_decoder_inst* create_decoder_inst( srd_session *session, int unit_size) const; - std::set< boost::shared_ptr > get_data(); + std::set< std::shared_ptr > get_data(); private: const srd_decoder *const _decoder; bool _shown; - std::map > - _probes; + std::map > + _channels; std::map _options; };