The behavior of clang-format slightly changed in Clang 5.0.0: http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
30 lines
689 B
C++
30 lines
689 B
C++
#ifndef SYNCTHINGCONNECTIONSETTINGS_H
|
|
#define SYNCTHINGCONNECTIONSETTINGS_H
|
|
|
|
#include "./global.h"
|
|
|
|
#include <QByteArray>
|
|
#include <QSslError>
|
|
#include <QString>
|
|
|
|
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;
|
|
int errorsPollInterval = 30000;
|
|
int reconnectInterval = 0;
|
|
QString httpsCertPath;
|
|
QList<QSslError> expectedSslErrors;
|
|
bool loadHttpsCert();
|
|
};
|
|
} // namespace Data
|
|
|
|
#endif // SYNCTHINGCONNECTIONSETTINGS_H
|