X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Fviewbase.hpp;h=3e180830f897574de522b460cf775f43a264361e;hp=1ac847562cd4462ebe0872d46732106f1b3dd49c;hb=143d322d0c92ea5c2cc51facc37b68787362c244;hpb=f4e57597347e47a4ea58fbdc7b0a22e07f1c0ede diff --git a/pv/views/viewbase.hpp b/pv/views/viewbase.hpp index 1ac84756..3e180830 100644 --- a/pv/views/viewbase.hpp +++ b/pv/views/viewbase.hpp @@ -15,8 +15,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef PULSEVIEW_PV_VIEWS_VIEWBASE_HPP @@ -53,7 +52,7 @@ class ViewBase : public QWidget { Q_OBJECT public: - explicit ViewBase(Session &session, QWidget *parent = 0); + explicit ViewBase(Session &session, bool is_main_view=false, QWidget *parent = 0); Session& session(); const Session& session() const; @@ -81,6 +80,8 @@ public Q_SLOTS: protected: Session &session_; + const bool is_main_view_; + util::TimeUnit time_unit_; };