refactoring: added classes for working with server configs
This commit is contained in:
parent
a2d30efaab
commit
2d22a74b22
34 changed files with 1441 additions and 91 deletions
17
client/core/models/servers/apiV1ServerConfig.h
Normal file
17
client/core/models/servers/apiV1ServerConfig.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef APIV1SERVERCONFIG_H
|
||||
#define APIV1SERVERCONFIG_H
|
||||
|
||||
#include "serverConfig.h"
|
||||
|
||||
class ApiV1ServerConfig : public ServerConfig
|
||||
{
|
||||
public:
|
||||
ApiV1ServerConfig(const QJsonObject &serverConfigObject);
|
||||
|
||||
QJsonObject toJson() const override;
|
||||
|
||||
QString name;
|
||||
QString description;
|
||||
};
|
||||
|
||||
#endif // APIV1SERVERCONFIG_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue