mirror of
https://github.com/amnezia-vpn/DefaultVPN.git
synced 2026-06-24 11:07:59 +03:00
19 lines
421 B
C++
19 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
|