1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-01 16:38:06 -04:00

Web API: /sdrangel/devicesets (POST, DELETE) implementation

This commit is contained in:
f4exb
2017-11-25 22:52:24 +01:00
parent c91918840e
commit 3086c4772b
9 changed files with 227 additions and 58 deletions
+10
View File
@@ -101,10 +101,20 @@ public:
Swagger::SWGDeviceSetList& response,
Swagger::SWGErrorResponse& error);
virtual int instanceDeviceSetsPost(
bool tx,
Swagger::SWGDeviceSet& response,
Swagger::SWGErrorResponse& error);
virtual int instanceDeviceSetsDelete(
Swagger::SWGDeviceSetList& response,
Swagger::SWGErrorResponse& error);
private:
MainWindow& m_mainWindow;
void getDeviceSetList(Swagger::SWGDeviceSetList* deviceSetList);
void getDeviceSet(Swagger::SWGDeviceSet *deviceSet, const DeviceUISet* deviceUISet, int deviceUISetIndex);
static QtMsgType getMsgTypeFromString(const QString& msgTypeString);
static void getMsgTypeString(const QtMsgType& msgType, QString& level);
};