Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
interface_updates_settings_provider.h
Go to the documentation of this file.
1#ifndef COCKATRICE_INTERFACE_UPDATES_SETTINGS_PROVIDER_H
2#define COCKATRICE_INTERFACE_UPDATES_SETTINGS_PROVIDER_H
3
4#include <QDate>
5
7{
8public:
9 virtual ~IUpdatesSettingsProvider() = default;
10
11 [[nodiscard]] virtual bool getCheckUpdatesOnStartup() const = 0;
12 [[nodiscard]] virtual bool getStartupCardUpdateCheckPromptForUpdate() = 0;
13 [[nodiscard]] virtual bool getStartupCardUpdateCheckAlwaysUpdate() = 0;
14 [[nodiscard]] virtual int getCardUpdateCheckInterval() const = 0;
15 [[nodiscard]] virtual QDate getLastCardUpdateCheck() const = 0;
16 [[nodiscard]] virtual bool getCardUpdateCheckRequired() const = 0;
17 [[nodiscard]] virtual bool getAlwaysEnableNewSets() const = 0;
18 [[nodiscard]] virtual bool getNotifyAboutUpdates() const = 0;
19 [[nodiscard]] virtual bool getNotifyAboutNewVersion() const = 0;
20 [[nodiscard]] virtual int getUpdateReleaseChannelIndex() const = 0;
21};
22
23#endif // COCKATRICE_INTERFACE_UPDATES_SETTINGS_PROVIDER_H
Definition interface_updates_settings_provider.h:7
virtual bool getNotifyAboutUpdates() const =0
virtual bool getStartupCardUpdateCheckAlwaysUpdate()=0
virtual int getUpdateReleaseChannelIndex() const =0
virtual bool getAlwaysEnableNewSets() const =0
virtual bool getCardUpdateCheckRequired() const =0
virtual bool getCheckUpdatesOnStartup() const =0
virtual ~IUpdatesSettingsProvider()=default
virtual QDate getLastCardUpdateCheck() const =0
virtual bool getStartupCardUpdateCheckPromptForUpdate()=0
virtual bool getNotifyAboutNewVersion() const =0
virtual int getCardUpdateCheckInterval() const =0