X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fdata%2Fdecode%2Fdecoder.h;h=dffefab22e2119f6a44fc7a2dbe869196320d431;hb=8bd26d8b9c831b509ee3241ea4dac6f50c023622;hp=0c3662cb5f75604aa0bf7cbd89ad94c4a3a67344;hpb=1f763c17a87c0be8c52ac9ba99e3391b91ab6bdc;p=pulseview.git diff --git a/pv/data/decode/decoder.h b/pv/data/decode/decoder.h index 0c3662c..dffefab 100644 --- a/pv/data/decode/decoder.h +++ b/pv/data/decode/decoder.h @@ -30,7 +30,7 @@ struct srd_decoder; struct srd_decoder_inst; -struct srd_probe; +struct srd_channel; struct srd_session; namespace pv { @@ -57,9 +57,9 @@ public: bool shown() const; void show(bool show = true); - const std::map >& probes() const; - void set_probes(std::map >& channels() const; + void set_probes(std::map > probes); const std::map& options() const; @@ -78,7 +78,7 @@ private: bool _shown; - std::map > + std::map > _probes; std::map _options; };