RigCtrl plugin: removed QtWidgets dependencies from where they should not be

pull/638/head
f4exb 2020-09-09 01:28:19 +02:00
rodzic 029c49b0b7
commit 40bd691a45
4 zmienionych plików z 9 dodań i 6 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
<h2>Introduction</h2>
The rigctrl plugin allows SDRangel to be controlled via ![Hamlib](http://hamlib.sourceforge.net/manuals/hamlib.html)'s rigctrld protocol. This allows other software that implements the rigctrld protocol, such at the satelite tracking software GPredict, to control SDRangel, to adjust for doppler or to automatically switch between different satellite frequencies and modes.
The rigctrl plugin allows SDRangel to be controlled via [Hamlib](http://hamlib.sourceforge.net/manuals/hamlib.html)'s rigctrld protocol. This allows other software that implements the rigctrld protocol, such at the satelite tracking software GPredict, to control SDRangel, to adjust for doppler or to automatically switch between different satellite frequencies and modes.
<h2>Interface</h2>

Wyświetl plik

@ -17,10 +17,6 @@
#include <QtPlugin>
#include <QtDebug>
#include <QtWidgets/QAction>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenu>
#include <QtWidgets/QMenuBar>
#include "plugin/pluginapi.h"
#include "util/simpleserializer.h"
@ -28,6 +24,10 @@
#include "rigctrl.h"
#ifdef SERVER_MODE
#else
#include <QtWidgets/QAction>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenu>
#include <QtWidgets/QMenuBar>
#include "rigctrlgui.h"
#endif
#include "rigctrlplugin.h"
@ -65,6 +65,7 @@ bool RigCtrlPlugin::createTopLevelGUI(
QMainWindow* mainWindow
)
{
(void) mainWindow;
return true;
}

Wyświetl plik

@ -23,6 +23,7 @@
#include "rigctrl.h"
class PluginAPI;
class QMainWindow;
#define RIGCTRL_DEVICE_TYPE_ID "sdrangel.misc.rigctrl"

Wyświetl plik

@ -3,10 +3,11 @@
#include <QtPlugin>
#include <QString>
#include <QtWidgets/QMainWindow>
#include "export.h"
class QMainWindow;
struct SDRBASE_API PluginDescriptor {
const QString hardwareId;
// general plugin description