// SPDX-License-Identifier: GPL-2.0
#ifndef CHECKCLOUDCONNECTION_H
#define CHECKCLOUDCONNECTION_H

#include <QObject>
#include <QNetworkReply>
#include <QSsl>

#include "checkcloudconnection.h"

class CheckCloudConnection : public QObject {
	Q_OBJECT
public:
	CheckCloudConnection(QObject *parent = 0);
	bool checkServer();
private:
	QNetworkReply *reply;
private
slots:
	void sslErrors(QList<QSslError> errorList);
};

#endif // CHECKCLOUDCONNECTION_H
