mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Clean db interface
This commit is contained in:
parent
1d78e106ad
commit
1c2d2a14ac
3 changed files with 12 additions and 12 deletions
|
@ -7,9 +7,9 @@ class GameBase {
|
|||
|
||||
public:
|
||||
virtual std::shared_ptr<Game> GetGame(std::uint32_t id) = 0;
|
||||
virtual void Save(std::vector<std::uint32_t> to_ignore,
|
||||
std::vector<std::shared_ptr<GameBase>> new_games_bases,
|
||||
std::vector<std::shared_ptr<Game>> new_games) = 0;
|
||||
virtual void Save(std::vector<std::uint32_t> to_delete,
|
||||
std::vector<std::shared_ptr<GameBase>> databases_to_import,
|
||||
std::vector<std::shared_ptr<Game>> games_to_import) = 0;
|
||||
virtual std::shared_ptr<Game> GetCurrentGame() = 0;
|
||||
virtual bool NextGame() = 0;
|
||||
virtual std::string GetTag(std::string tag) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue