#ifndef SETTINGS_H #define SETTINGS_H #include "../../connector/syncthingconnectionsettings.h" #include #include #include #include QT_FORWARD_DECLARE_CLASS(QSize) namespace Media { enum class TagUsage; enum class ElementPosition; } namespace Dialogs { class QtSettings; } namespace Settings { bool &firstLaunch(); // connection Data::SyncthingConnectionSettings &primaryConnectionSettings(); std::vector &secondaryConnectionSettings(); // notifications bool ¬ifyOnDisconnect(); bool ¬ifyOnInternalErrors(); bool ¬ifyOnSyncComplete(); bool &showSyncthingNotifications(); // apprearance bool &showTraffic(); QSize &trayMenuSize(); int &frameStyle(); int &tabPosition(); // autostart/launcher bool &launchSynchting(); QString &syncthingPath(); QString &syncthingArgs(); QString syncthingCmd(); // web view #if defined(SYNCTHINGTRAY_USE_WEBENGINE) || defined(SYNCTHINGTRAY_USE_WEBKIT) bool &webViewDisabled(); double &webViewZoomFactor(); QByteArray &webViewGeometry(); bool &webViewKeepRunning(); #endif // Qt settings Dialogs::QtSettings &qtSettings(); void restore(); void save(); } #endif // SETTINGS_H