X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Fviewbase.hpp;h=9621f35117bd47a702eb9e397afa7e8a54fc9d7c;hb=44b2b6b7a56e744aeae38b482c2ac59b92ae73c9;hp=af885751f170a17ea75a617a11276aa32c681568;hpb=e77de61fbc19633c77cc196332ae79c26d9ca35d;p=pulseview.git diff --git a/pv/views/viewbase.hpp b/pv/views/viewbase.hpp index af885751..9621f351 100644 --- a/pv/views/viewbase.hpp +++ b/pv/views/viewbase.hpp @@ -73,6 +73,7 @@ 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