1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-24 11:04:10 -04:00

REST API: config: PUT (5): mapper work and rework. ChannelAnalyzer complements

This commit is contained in:
f4exb
2019-08-09 18:45:10 +02:00
parent 4897e82e28
commit c777ec881d
9 changed files with 360 additions and 39 deletions
+12
View File
@@ -29,6 +29,7 @@
#include "settings/preset.h"
#include "settings/mainsettings.h"
#include "commands/command.h"
#include "webapiadapterinterface.h"
class PluginManager;
class ChannelWebAPIAdapter;
@@ -62,8 +63,19 @@ public:
);
static void webapiUpdatePreferences(
SWGSDRangel::SWGPreferences *apiPreferences,
const QStringList& preferenceKeys,
Preferences& preferences
);
static void webapiUpdatePreset(
SWGSDRangel::SWGPreset *apiPreset,
const WebAPIAdapterInterface::PresetKeys& presetKeys,
Preset& preset
);
static void webapiUpdateCommand(
SWGSDRangel::SWGCommand *apiCommand,
const WebAPIAdapterInterface::CommandKeys& commandKeys,
Command& command
);
private:
class WebAPIChannelAdapters