mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Update db code
This commit is contained in:
parent
e5ba738f72
commit
f40fd3e7a4
2 changed files with 22 additions and 1 deletions
|
@ -27,4 +27,12 @@ public:
|
|||
* @brief An additionnal static method is expected with the following signature:
|
||||
* static void CreateDatabaseFile(std::string path);
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Open a data
|
||||
*
|
||||
* @param dbpath
|
||||
* @return std::shared_ptr<GameBase>
|
||||
*/
|
||||
std::shared_ptr<GameBase> OpenDatabase(const std::string &dbpath, bool createIfNotExist=true);
|
Loading…
Add table
Add a link
Reference in a new issue