first commit

This commit is contained in:
2025-09-13 15:34:27 +02:00
commit d423636b03
18 changed files with 475 additions and 0 deletions

18
information.cpp Normal file
View File

@@ -0,0 +1,18 @@
#include "information.h"
Information::Information(QString version, QString apiVersion, QString goVersion, QString osName, QString osArchitecture) {
this->_version = version;
this->_apiVersion = apiVersion;
this->_goVersion = goVersion;
this->_osName = osName;
this->_osArchitecture = osArchitecture;
}
Information::Information(QJsonObject obj)
{
this->_version = obj["version"].toString();
this->_apiVersion = obj["api_version"].toString();
this->_goVersion = obj["go_version"].toString();
this->_osName = obj["os_name"].toString();
this->_osArchitecture = obj["os_architecture"].toString();
}