amnezia-client/client/core/api/apiUtils.h
2025-02-15 11:50:42 +07:00

18 lines
421 B
C++

#ifndef APIUTILS_H
#define APIUTILS_H
#include <QObject>
#include "apiDefs.h"
namespace apiUtils
{
bool isServerFromApi(const QJsonObject &serverConfigObject);
bool isSubscriptionExpired(const QString &subscriptionEndDate);
apiDefs::ConfigType getConfigType(const QJsonObject &serverConfigObject);
apiDefs::ConfigSource getConfigSource(const QJsonObject &serverConfigObject);
}
#endif // APIUTILS_H