summaryrefslogtreecommitdiff
path: root/Transceiver/HamlibTransceiver.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
committerChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
commitf647d78463c1250ce9c99af664615fafccf5e959 (patch)
tree5b00428cef68aef1c9d407e2d4535687422419b6 /Transceiver/HamlibTransceiver.hpp
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'Transceiver/HamlibTransceiver.hpp')
-rw-r--r--[-rwxr-xr-x]Transceiver/HamlibTransceiver.hpp94
1 files changed, 47 insertions, 47 deletions
diff --git a/Transceiver/HamlibTransceiver.hpp b/Transceiver/HamlibTransceiver.hpp
index b3e699d0..101cbb9d 100755..100644
--- a/Transceiver/HamlibTransceiver.hpp
+++ b/Transceiver/HamlibTransceiver.hpp
@@ -1,47 +1,47 @@
-#ifndef HAMLIB_TRANSCEIVER_HPP_
-#define HAMLIB_TRANSCEIVER_HPP_
-
-#include <QString>
-
-#include "TransceiverFactory.hpp"
-#include "PollingTransceiver.hpp"
-#include "pimpl_h.hpp"
-
-// hamlib transceiver and PTT mostly delegated directly to hamlib Rig class
-class HamlibTransceiver final
- : public PollingTransceiver
-{
- Q_OBJECT // for translation context
-
-public:
- static void register_transceivers (logger_type *, TransceiverFactory::Transceivers *);
- static void unregister_transceivers ();
-
- explicit HamlibTransceiver (logger_type *, unsigned model_number, TransceiverFactory::ParameterPack const&,
- QObject * parent = nullptr);
- explicit HamlibTransceiver (logger_type *, TransceiverFactory::PTTMethod ptt_type, QString const& ptt_port,
- QObject * parent = nullptr);
- ~HamlibTransceiver ();
-
-private:
- void load_user_settings ();
- int do_start () override;
- void do_stop () override;
- void do_frequency (Frequency, MODE, bool no_ignore) override;
- void do_tx_frequency (Frequency, MODE, bool no_ignore) override;
- void do_mode (MODE) override;
- void do_ptt (bool) override;
- void do_tune (bool) override;
-
- void do_poll () override;
-
- bool ptt_on_ = false;
- bool do_pwr_;
- bool do_pwr2_;
- bool do_swr_;
-
- class impl;
- pimpl<impl> m_;
-};
-
-#endif
+#ifndef HAMLIB_TRANSCEIVER_HPP_
+#define HAMLIB_TRANSCEIVER_HPP_
+
+#include <QString>
+
+#include "TransceiverFactory.hpp"
+#include "PollingTransceiver.hpp"
+#include "pimpl_h.hpp"
+
+// hamlib transceiver and PTT mostly delegated directly to hamlib Rig class
+class HamlibTransceiver final
+ : public PollingTransceiver
+{
+ Q_OBJECT // for translation context
+
+public:
+ static void register_transceivers (logger_type *, TransceiverFactory::Transceivers *);
+ static void unregister_transceivers ();
+
+ explicit HamlibTransceiver (logger_type *, unsigned model_number, TransceiverFactory::ParameterPack const&,
+ QObject * parent = nullptr);
+ explicit HamlibTransceiver (logger_type *, TransceiverFactory::PTTMethod ptt_type, QString const& ptt_port,
+ QObject * parent = nullptr);
+ ~HamlibTransceiver ();
+
+private:
+ void load_user_settings ();
+ int do_start () override;
+ void do_stop () override;
+ void do_frequency (Frequency, MODE, bool no_ignore) override;
+ void do_tx_frequency (Frequency, MODE, bool no_ignore) override;
+ void do_mode (MODE) override;
+ void do_ptt (bool) override;
+ void do_tune (bool) override;
+
+ void do_poll () override;
+
+ bool ptt_on_ = false;
+ bool do_pwr_;
+ bool do_pwr2_;
+ bool do_swr_;
+
+ class impl;
+ pimpl<impl> m_;
+};
+
+#endif