]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/decoder.hpp
Rename Decoder::shown() and such
[pulseview.git] / pv / data / decode / decoder.hpp
index c0a30a7e2f50a9e89c574dba739c0d8f7e1a0ece..545992f8a24a379b2381c93739432656aa45bcc7 100644 (file)
@@ -90,8 +90,8 @@ public:
 
        const char* name() const;
 
 
        const char* name() const;
 
-       bool shown() const;
-       void show(bool show = true);
+       bool visible() const;
+       void set_visible(bool visible);
 
        const vector<DecodeChannel*>& channels() const;
        void set_channels(vector<DecodeChannel*> channels);
 
        const vector<DecodeChannel*>& channels() const;
        void set_channels(vector<DecodeChannel*> channels);
@@ -120,7 +120,7 @@ public:
 private:
        const srd_decoder* const srd_decoder_;
 
 private:
        const srd_decoder* const srd_decoder_;
 
-       bool shown_;
+       bool visible_;
 
        vector<DecodeChannel*> channels_;
        vector<Row> rows_;
 
        vector<DecodeChannel*> channels_;
        vector<Row> rows_;