summaryrefslogtreecommitdiff
path: root/src/resources/dbmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-05 01:53:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-05 01:53:43 +0300
commitebcc8eac47b5860c02413c1e8d4c2f3c553ef20e (patch)
treef785624746aada2dd74cd4df3ffaeebdfadf013b /src/resources/dbmanager.h
parentb214e2da42e33d4deadef21f3fe74666fe33e82f (diff)
downloadplus-ebcc8eac47b5860c02413c1e8d4c2f3c553ef20e.tar.gz
plus-ebcc8eac47b5860c02413c1e8d4c2f3c553ef20e.tar.bz2
plus-ebcc8eac47b5860c02413c1e8d4c2f3c553ef20e.tar.xz
plus-ebcc8eac47b5860c02413c1e8d4c2f3c553ef20e.zip
Move resource dbs load/unload code into dbmanager.
Diffstat (limited to 'src/resources/dbmanager.h')
-rw-r--r--src/resources/dbmanager.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/resources/dbmanager.h b/src/resources/dbmanager.h
new file mode 100644
index 000000000..3aceacb0e
--- /dev/null
+++ b/src/resources/dbmanager.h
@@ -0,0 +1,30 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2017 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef RESOURCES_DBMANAGER_H
+#define RESOURCES_DBMANAGER_H
+
+namespace DbManager
+{
+ void loadDb();
+ void unloadDb();
+}
+
+#endif // RESOURCES_DBMANAGER_H