1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00

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

This commit is contained in:
f4exb 2020-09-09 01:28:19 +02:00
parent 029c49b0b7
commit 40bd691a45
4 changed files with 9 additions and 6 deletions

View File

@ -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>

View File

@ -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;
}

View File

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

View File

@ -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