mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 04:53:54 -07:00
Move abstract/noop interfaces to libcockatrice_interfaces so they can be linked against independently.
Took 52 minutes
This commit is contained in:
parent
45ee5d8abc
commit
837804f336
21 changed files with 45 additions and 25 deletions
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef COCKATRICE_INETWORKSETTINGSPROVIDER_H
|
||||
#define COCKATRICE_INETWORKSETTINGSPROVIDER_H
|
||||
#include <QString>
|
||||
|
||||
class INetworkSettingsProvider
|
||||
{
|
||||
public:
|
||||
virtual ~INetworkSettingsProvider() = default;
|
||||
|
||||
virtual QString getClientID() = 0;
|
||||
|
||||
[[nodiscard]] virtual int getTimeOut() const = 0;
|
||||
[[nodiscard]] virtual int getKeepAlive() const = 0;
|
||||
[[nodiscard]] virtual bool getNotifyAboutUpdates() const = 0;
|
||||
|
||||
virtual void setKnownMissingFeatures(const QString &_knownMissingFeatures) = 0;
|
||||
virtual QString getKnownMissingFeatures() = 0;
|
||||
};
|
||||
|
||||
#endif // COCKATRICE_INETWORKSETTINGSPROVIDER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue