From f647d78463c1250ce9c99af664615fafccf5e959 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Tue, 7 Apr 2026 19:02:45 +0200 Subject: New upstream version 3.0.0 --- Transceiver/HamlibTransceiver.hpp | 94 +++++++++++++++++++-------------------- 1 file changed, 47 insertions(+), 47 deletions(-) mode change 100755 => 100644 Transceiver/HamlibTransceiver.hpp (limited to 'Transceiver/HamlibTransceiver.hpp') diff --git a/Transceiver/HamlibTransceiver.hpp b/Transceiver/HamlibTransceiver.hpp old mode 100755 new mode 100644 index b3e699d0..101cbb9d --- a/Transceiver/HamlibTransceiver.hpp +++ b/Transceiver/HamlibTransceiver.hpp @@ -1,47 +1,47 @@ -#ifndef HAMLIB_TRANSCEIVER_HPP_ -#define HAMLIB_TRANSCEIVER_HPP_ - -#include - -#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 m_; -}; - -#endif +#ifndef HAMLIB_TRANSCEIVER_HPP_ +#define HAMLIB_TRANSCEIVER_HPP_ + +#include + +#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 m_; +}; + +#endif -- cgit v1.2.3