diff options
Diffstat (limited to 'src/base_tab/gamebase/GameBase.hpp')
| -rw-r--r-- | src/base_tab/gamebase/GameBase.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/base_tab/gamebase/GameBase.hpp b/src/base_tab/gamebase/GameBase.hpp index b2c1488..8e02fd1 100644 --- a/src/base_tab/gamebase/GameBase.hpp +++ b/src/base_tab/gamebase/GameBase.hpp @@ -48,4 +48,10 @@ std::shared_ptr<GameBase> OpenDatabase(const std::string &dbpath, bool createIfN * @return std::shared_ptr<Game> */ std::shared_ptr<Game> OpenGameX(const std::string &dbpath, long id); +/** + * @brief Save a given game in a database file (append to existing games in the db) + * + * @param dbpath path of the dadabase + * @param g shared pointer to a game + */ void SaveGame(const std::string &dbpath, std::shared_ptr<Game> g);
\ No newline at end of file |
