diff options
| author | Christoph Berg <myon@debian.org> | 2020-11-16 21:54:50 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2020-11-16 21:54:50 +0100 |
| commit | 77922fa33547ce24535f2e514c9a112dcb496f18 (patch) | |
| tree | 9f82b0ee01281b315f43a4c60d678927b4c6ca59 /Transceiver/HamlibTransceiver.hpp | |
| parent | 7aa3c56b01768ba7d38fccedc17b30a4046b3fbb (diff) | |
New upstream version 2.3.0~rc2+repackupstream/2.3.0_rc2+repack
Diffstat (limited to 'Transceiver/HamlibTransceiver.hpp')
| -rw-r--r-- | Transceiver/HamlibTransceiver.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Transceiver/HamlibTransceiver.hpp b/Transceiver/HamlibTransceiver.hpp index dd78b787..e1b5dece 100644 --- a/Transceiver/HamlibTransceiver.hpp +++ b/Transceiver/HamlibTransceiver.hpp @@ -17,15 +17,15 @@ class HamlibTransceiver final Q_OBJECT // for translation context public: - static void register_transceivers (TransceiverFactory::Transceivers *); + static void register_transceivers (logger_type *, TransceiverFactory::Transceivers *); static void unregister_transceivers (); - explicit HamlibTransceiver (int model_number, TransceiverFactory::ParameterPack const&, + explicit HamlibTransceiver (logger_type *, int model_number, TransceiverFactory::ParameterPack const&, QObject * parent = nullptr); - explicit HamlibTransceiver (TransceiverFactory::PTTMethod ptt_type, QString const& ptt_port, + explicit HamlibTransceiver (logger_type *, TransceiverFactory::PTTMethod ptt_type, QString const& ptt_port, QObject * parent = nullptr); - private: +private: int do_start () override; void do_stop () override; void do_frequency (Frequency, MODE, bool no_ignore) override; @@ -65,6 +65,8 @@ public: // establish the Tx VFO bool get_vfo_works_; // Net rigctl promises what it can't deliver bool set_vfo_works_; // More rigctl promises which it can't deliver + + static int debug_callback (enum rig_debug_level_e level, rig_ptr_t arg, char const * format, va_list ap); }; #endif |
