]> sigrok.org Git - pulseview.git/blobdiff - pv/views/viewbase.hpp
Implement expansion marker animation and its infrastructure
[pulseview.git] / pv / views / viewbase.hpp
index 7f0a17fd004c59d3041e380a73b6bd829379e843..d3111dc79cdfbc5929f260d8f0181a2238f592a9 100644 (file)
@@ -66,13 +66,14 @@ class ViewBase : public QWidget
 {
        Q_OBJECT
 
-private:
+public:
        static const int MaxViewAutoUpdateRate;
 
 public:
        explicit ViewBase(Session &session, bool is_main_view = false, QMainWindow *parent = nullptr);
 
        virtual ViewType get_type() const = 0;
+       bool is_main_view() const;
 
        /**
         * Resets the view to its default state after construction. It does however
@@ -128,6 +129,9 @@ protected:
        util::TimeUnit time_unit_;
 
        unordered_set< shared_ptr<data::SignalBase> > signalbases_;
+#ifdef ENABLE_DECODE
+       unordered_set< shared_ptr<data::DecodeSignal> > decode_signals_;
+#endif
 
        /// The ID of the currently displayed segment
        uint32_t current_segment_;