diff options
Diffstat (limited to 'widgets/astro.h')
| -rw-r--r-- | widgets/astro.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/widgets/astro.h b/widgets/astro.h index a2474072..2b544872 100644 --- a/widgets/astro.h +++ b/widgets/astro.h @@ -2,6 +2,8 @@ #ifndef ASTRO_H #define ASTRO_H +#include <utility> + #include <QDialog> #include <QScopedPointer> @@ -34,9 +36,17 @@ public: Correction (Correction const&) = default; Correction& operator = (Correction const&) = default; + // testing facility used to test Doppler corrections on + // terrestrial links + void reverse () + { + std::swap (rx, tx); + } + FrequencyDelta rx; FrequencyDelta tx; }; + Correction astroUpdate(QDateTime const& t, QString const& mygrid, QString const& hisgrid, |
