summaryrefslogtreecommitdiff
path: root/src/resources/db/unitsdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-03 22:43:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-04 00:57:58 +0300
commitde73e67e830c15e6b623ba03eda88f9faacac40c (patch)
tree79422e9c944b751cd0c0b8ad6fd37e32ddaaa130 /src/resources/db/unitsdb.h
parent653f89fa3b236103670796af4b76a23e8ae84248 (diff)
downloadmanaverse-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.gz
manaverse-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.bz2
manaverse-de73e67e830c15e6b623ba03eda88f9faacac40c.tar.xz
manaverse-de73e67e830c15e6b623ba03eda88f9faacac40c.zip
Add missing load / unload databases logging.
Diffstat (limited to 'src/resources/db/unitsdb.h')
-rw-r--r--src/resources/db/unitsdb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/db/unitsdb.h b/src/resources/db/unitsdb.h
index 68cafe554..0681567c0 100644
--- a/src/resources/db/unitsdb.h
+++ b/src/resources/db/unitsdb.h
@@ -34,7 +34,9 @@ namespace UnitsDb
/**
* Loads and parses the units.xml file (if found).
*/
- void loadUnits();
+ void load();
+
+ void unload();
void loadXmlFile(const std::string &fileName,
const SkipError skipError);