syncthingtray/connector/syncthingconnectionsettings.h

30 lines
636 B
C
Raw Normal View History

#ifndef SYNCTHINGCONNECTIONSETTINGS_H
#define SYNCTHINGCONNECTIONSETTINGS_H
#include "./global.h"
#include <QString>
#include <QByteArray>
#include <QSslError>
namespace Data {
struct LIB_SYNCTHING_CONNECTOR_EXPORT SyncthingConnectionSettings {
QString label;
QString syncthingUrl;
bool authEnabled = false;
QString userName;
QString password;
QByteArray apiKey;
int trafficPollInterval = 2000;
int devStatsPollInterval = 60000;
2016-10-07 15:11:25 +02:00
int reconnectInterval = 0;
QString httpsCertPath;
QList<QSslError> expectedSslErrors;
bool loadHttpsCert();
};
}
#endif // SYNCTHINGCONNECTIONSETTINGS_H