aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/gamebase/GameBase.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base_tab/gamebase/GameBase.hpp')
-rw-r--r--src/base_tab/gamebase/GameBase.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/base_tab/gamebase/GameBase.hpp b/src/base_tab/gamebase/GameBase.hpp
index 6798330..b84047b 100644
--- a/src/base_tab/gamebase/GameBase.hpp
+++ b/src/base_tab/gamebase/GameBase.hpp
@@ -35,4 +35,12 @@ public:
* @param dbpath
* @return std::shared_ptr<GameBase>
*/
-std::shared_ptr<GameBase> OpenDatabase(const std::string &dbpath, bool createIfNotExist=true); \ No newline at end of file
+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); \ No newline at end of file