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.
SWGLocalOutputSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGLocalOutputSettings.h
15  *
16  * LocalOutput
17  */
18 
19 #ifndef SWGLocalOutputSettings_H_
20 #define SWGLocalOutputSettings_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  SWGLocalOutputSettings(QString* json);
36  virtual ~SWGLocalOutputSettings();
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 SWGLocalOutputSettings* fromJson(QString &jsonString) override;
44 
45  qint32 getUseReverseApi();
46  void setUseReverseApi(qint32 use_reverse_api);
47 
48  QString* getReverseApiAddress();
49  void setReverseApiAddress(QString* reverse_api_address);
50 
51  qint32 getReverseApiPort();
52  void setReverseApiPort(qint32 reverse_api_port);
53 
54  qint32 getReverseApiDeviceIndex();
55  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
56 
57 
58  virtual bool isSet() override;
59 
60 private:
63 
66 
69 
72 
73 };
74 
75 }
76 
77 #endif /* SWGLocalOutputSettings_H_ */
#define SWG_API
Definition: export.h:124