X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Fviewbase.hpp;h=af885751f170a17ea75a617a11276aa32c681568;hb=516d21289dafa7ce9b5352454a0eda31999c5efc;hp=3d43ca9a12bc6d3277f92ee7805da0e851f1584f;hpb=a24412db987328f80cf32d8299d82b72a441c239;p=pulseview.git diff --git a/pv/views/viewbase.hpp b/pv/views/viewbase.hpp index 3d43ca9a..af885751 100644 --- a/pv/views/viewbase.hpp +++ b/pv/views/viewbase.hpp @@ -72,6 +72,8 @@ private: public: explicit ViewBase(Session &session, bool is_main_view = false, QMainWindow *parent = nullptr); + virtual ViewType get_type() const = 0; + /** * Resets the view to its default state after construction. It does however * not reset the signal bases or any other connections with the session. @@ -126,6 +128,9 @@ protected: util::TimeUnit time_unit_; unordered_set< shared_ptr > signalbases_; +#ifdef ENABLE_DECODE + unordered_set< shared_ptr > decode_signals_; +#endif /// The ID of the currently displayed segment uint32_t current_segment_;