Improve user experience

This commit is contained in:
Loic Guegan 2022-12-28 07:21:30 +01:00
parent 4eeb110f80
commit 214d46b8e2
6 changed files with 61 additions and 41 deletions

View file

@ -35,4 +35,12 @@ public:
* @param dbpath
* @return std::shared_ptr<GameBase>
*/
std::shared_ptr<GameBase> OpenDatabase(const std::string &dbpath, bool createIfNotExist=true);
std::shared_ptr<GameBase> OpenDatabase(const std::string &dbpath, bool createIfNotExist=true);
/**
* @brief Single game open
*
* @param dbpath
* @param id
* @return std::shared_ptr<Game>
*/
std::shared_ptr<Game> OpenGameX(const std::string &dbpath, long id);