]> sigrok.org Git - pulseview.git/blobdiff - pv/views/viewbase.hpp
Save/restore view type
[pulseview.git] / pv / views / viewbase.hpp
index 3d43ca9a12bc6d3277f92ee7805da0e851f1584f..7f0a17fd004c59d3041e380a73b6bd829379e843 100644 (file)
@@ -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.