X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Fviewbase.hpp;h=0c7b0463661d3019943859883bff3b14987962e4;hp=b524c1797d0d1478ba4bd1eac36ee538a400d69a;hb=baf867eddd4efbc465f5a3490b1ea21dfe7ba597;hpb=5a20644617a727e5893cd1df3f105135c1ebdedd diff --git a/pv/views/viewbase.hpp b/pv/views/viewbase.hpp index b524c179..0c7b0463 100644 --- a/pv/views/viewbase.hpp +++ b/pv/views/viewbase.hpp @@ -50,11 +50,17 @@ class Signal; namespace views { +// When adding an entry here, don't forget to update ViewTypeNames as well enum ViewType { ViewTypeTrace, - ViewTypeTabularDecode +#ifdef ENABLE_DECODE + ViewTypeDecoderOutput, +#endif + ViewTypeCount // Indicates how many view types there are, must always be last }; +extern const char* ViewTypeNames[ViewTypeCount]; + class ViewBase : public QWidget { Q_OBJECT @@ -116,7 +122,6 @@ protected: const bool is_main_view_; - util::Timestamp ruler_shift_; util::TimeUnit time_unit_; unordered_set< shared_ptr > signalbases_;