mirror of https://github.com/f4exb/sdrangel.git
68 lines
1.5 KiB
C++
68 lines
1.5 KiB
C++
/**
|
|
* SDRangel
|
|
* This is the web API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube
|
|
*
|
|
* OpenAPI spec version: 4.0.0
|
|
* Contact: f4exb06@gmail.com
|
|
*
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/*
|
|
* SWGLoggingInfo.h
|
|
*
|
|
* Logging parameters setting
|
|
*/
|
|
|
|
#ifndef SWGLoggingInfo_H_
|
|
#define SWGLoggingInfo_H_
|
|
|
|
#include <QJsonObject>
|
|
|
|
|
|
#include <QString>
|
|
|
|
#include "SWGObject.h"
|
|
|
|
|
|
namespace SWGSDRangel {
|
|
|
|
class SWGLoggingInfo: public SWGObject {
|
|
public:
|
|
SWGLoggingInfo();
|
|
SWGLoggingInfo(QString* json);
|
|
virtual ~SWGLoggingInfo();
|
|
void init();
|
|
void cleanup();
|
|
|
|
QString asJson ();
|
|
QJsonObject* asJsonObject();
|
|
void fromJsonObject(QJsonObject &json);
|
|
SWGLoggingInfo* fromJson(QString &jsonString);
|
|
|
|
QString* getConsoleLevel();
|
|
void setConsoleLevel(QString* console_level);
|
|
|
|
QString* getFileLevel();
|
|
void setFileLevel(QString* file_level);
|
|
|
|
qint32 getDumpToFile();
|
|
void setDumpToFile(qint32 dump_to_file);
|
|
|
|
QString* getFileName();
|
|
void setFileName(QString* file_name);
|
|
|
|
|
|
private:
|
|
QString* console_level;
|
|
QString* file_level;
|
|
qint32 dump_to_file;
|
|
QString* file_name;
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* SWGLoggingInfo_H_ */
|