mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-11 20:43:25 -08:00
[Server] Create the main database interface through a virtual factory
This commit is contained in:
parent
4d7c5218e9
commit
5565f21b39
2 changed files with 12 additions and 1 deletions
|
|
@ -163,6 +163,8 @@ private slots:
|
|||
|
||||
protected:
|
||||
void doSendIslMessage(const IslMessage &msg, int _serverId) override;
|
||||
/** @brief Creates the database interface the server itself runs on; the shipped server uses MySQL. */
|
||||
virtual Server_DatabaseInterface *createMainDatabaseInterface();
|
||||
|
||||
private:
|
||||
enum DatabaseType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue