diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-06-17 00:37:10 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-06-19 19:40:27 -0400 |
commit | e1b633a95047fce266e575cbc66a314d31c24491 (patch) | |
tree | da8e5790f1c6b0361480159f7095ca0ef404d253 /gr-qtgui/lib/TimeDomainDisplayPlot.cc | |
parent | 29ebb4085e689043e14b95e1b8d16b517cc52000 (diff) |
qtgui: only one definition of (internal) TimePrecisionClass
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-qtgui/lib/TimeDomainDisplayPlot.cc')
-rw-r--r-- | gr-qtgui/lib/TimeDomainDisplayPlot.cc | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/gr-qtgui/lib/TimeDomainDisplayPlot.cc b/gr-qtgui/lib/TimeDomainDisplayPlot.cc index 77f8fe14bb..b6dc166a95 100644 --- a/gr-qtgui/lib/TimeDomainDisplayPlot.cc +++ b/gr-qtgui/lib/TimeDomainDisplayPlot.cc @@ -11,6 +11,7 @@ #ifndef TIME_DOMAIN_DISPLAY_PLOT_C #define TIME_DOMAIN_DISPLAY_PLOT_C +#include "TimePrecisionClass.h" #include <gnuradio/qtgui/TimeDomainDisplayPlot.h> #include <qwt_legend.h> @@ -18,25 +19,6 @@ #include <QColor> #include <cmath> -class TimePrecisionClass -{ -public: - TimePrecisionClass(const int timePrecision) { d_timePrecision = timePrecision; } - - virtual ~TimePrecisionClass() {} - - virtual unsigned int getTimePrecision() const { return d_timePrecision; } - - virtual void setTimePrecision(const unsigned int newPrecision) - { - d_timePrecision = newPrecision; - } - -protected: - unsigned int d_timePrecision; -}; - - class TimeDomainDisplayZoomer : public QwtPlotZoomer, public TimePrecisionClass { public: |