SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
webapiadapterbase.h
Go to the documentation of this file.
1 // Copyright (C) 2019 Edouard Griffiths, F4EXB. //
3 // //
4 // Swagger server adapter interface //
5 // //
6 // This program is free software; you can redistribute it and/or modify //
7 // it under the terms of the GNU General Public License as published by //
8 // the Free Software Foundation as version 3 of the License, or //
9 // (at your option) any later version. //
10 // //
11 // This program is distributed in the hope that it will be useful, //
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14 // GNU General Public License V3 for more details. //
15 // //
16 // You should have received a copy of the GNU General Public License //
17 // along with this program. If not, see <http://www.gnu.org/licenses/>. //
19 #ifndef SDRBASE_WEBAPI_WEBAPIADAPTERBASE_H_
20 #define SDRBASE_WEBAPI_WEBAPIADAPTERBASE_H_
21 
22 #include "export.h"
23 #include "SWGPreferences.h"
24 #include "SWGPreset.h"
25 #include "settings/preferences.h"
26 #include "settings/preset.h"
27 
32 {
33 public:
34  static void webapiFormatPreferences(
35  SWGSDRangel::SWGPreferences *apiPreferences,
36  const Preferences& preferences
37  );
38  static void webapiFormatPreset(
39  SWGSDRangel::SWGPreset *apiPreset,
40  const Preset& preset
41  );
42 };
43 
44 #endif // SDRBASE_WEBAPI_WEBAPIADAPTERBASE_H_
Definition: preset.h:28
#define SDRBASE_API
Definition: export.h:40