X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fdecoder.h;h=f96ba2b6e18e66a3b80e00469fdf2cf05db19c17;hb=dd048a7ec035447c051c7937ce04aca5be065b4e;hp=e9c5726f988cc67321abb0cac629b90f999d61aa;hpb=7491a29f33471b38e161b3254f4d8e708b05f929;p=pulseview.git diff --git a/pv/data/decode/decoder.h b/pv/data/decode/decoder.h index e9c5726..f96ba2b 100644 --- a/pv/data/decode/decoder.h +++ b/pv/data/decode/decoder.h @@ -50,12 +50,15 @@ public: const srd_decoder* decoder() const; + bool shown() const; + void show(bool show = true); + const std::map >& probes() const; void set_probes(std::map > probes); - const GHashTable* options() const; + const std::map& options() const; void set_option(const char *id, GVariant *value); @@ -64,9 +67,12 @@ public: private: const srd_decoder *const _decoder; + + bool _shown; + std::map > _probes; - GHashTable *_options; + std::map _options; }; } // namespace decode