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.
SWGSuccessResponse.h
Go to the documentation of this file.
1 
13 /*
14  * SWGSuccessResponse.h
15  *
16  *
17  */
18 
19 #ifndef SWGSuccessResponse_H_
20 #define SWGSuccessResponse_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include <QString>
26 
27 #include "SWGObject.h"
28 #include "export.h"
29 
30 namespace SWGSDRangel {
31 
33 public:
35  SWGSuccessResponse(QString* json);
36  virtual ~SWGSuccessResponse();
37  void init();
38  void cleanup();
39 
40  virtual QString asJson () override;
41  virtual QJsonObject* asJsonObject() override;
42  virtual void fromJsonObject(QJsonObject &json) override;
43  virtual SWGSuccessResponse* fromJson(QString &jsonString) override;
44 
45  QString* getMessage();
46  void setMessage(QString* message);
47 
48 
49  virtual bool isSet() override;
50 
51 private:
52  QString* message;
54 
55 };
56 
57 }
58 
59 #endif /* SWGSuccessResponse_H_ */
#define SWG_API
Definition: export.h:124