Turn Card, Deck_List, Protocol, RNG, Server, Settings and Utility into libraries and remove cockatrice_common.

Took 6 hours 3 minutes

Took 31 seconds
This commit is contained in:
Lukas Brübach 2025-10-02 17:41:07 +02:00
parent 3cff55b0bb
commit 1e4e5a4419
593 changed files with 1913 additions and 1601 deletions

View file

@ -0,0 +1,33 @@
/**
* @file message_settings.h
* @ingroup NetworkSettings
* @brief TODO: Document this.
*/
#ifndef MESSAGESETTINGS_H
#define MESSAGESETTINGS_H
#include "settings_manager.h"
class MessageSettings : public SettingsManager
{
Q_OBJECT
friend class SettingsCache;
public:
int getCount();
QString getMessageAt(int index);
void setCount(int count);
void setMessageAt(int index, QString message);
signals:
void messageMacrosChanged();
public slots:
private:
explicit MessageSettings(const QString &settingPath, QObject *parent = nullptr);
MessageSettings(const MessageSettings & /*other*/);
};
#endif // MESSAGESETTINGS_H