Cockatrice/libcockatrice_settings/libcockatrice/settings/download_settings.h
2026-05-21 22:58:07 +02:00

27 lines
591 B
C++

/**
* @file download_settings.h
* @ingroup NetworkSettings
*/
//! \todo Document this file.
#ifndef COCKATRICE_DOWNLOADSETTINGS_H
#define COCKATRICE_DOWNLOADSETTINGS_H
#include "settings_manager.h"
class DownloadSettings : public SettingsManager
{
Q_OBJECT
friend class SettingsCache;
static const QStringList DEFAULT_DOWNLOAD_URLS;
public:
explicit DownloadSettings(const QString &, QObject *);
QStringList getAllURLs() const;
void setDownloadUrls(const QStringList &downloadURLs);
void resetToDefaultURLs();
};
#endif // COCKATRICE_DOWNLOADSETTINGS_H