summaryrefslogtreecommitdiff
path: root/src/resources/db/petdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-06 18:08:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-06 18:08:30 +0300
commitd8f56c2b9a68de7bba8f5848b126bd25741eb494 (patch)
treef3da0c5853f75b3c9601b4b3a7f23dbc95d5dddd /src/resources/db/petdb.h
parent2ba34797598a310bd31d46a43246cf6f88d6db74 (diff)
downloadplus-d8f56c2b9a68de7bba8f5848b126bd25741eb494.tar.gz
plus-d8f56c2b9a68de7bba8f5848b126bd25741eb494.tar.bz2
plus-d8f56c2b9a68de7bba8f5848b126bd25741eb494.tar.xz
plus-d8f56c2b9a68de7bba8f5848b126bd25741eb494.zip
add support for include in pets.xml.
Diffstat (limited to 'src/resources/db/petdb.h')
-rw-r--r--src/resources/db/petdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/db/petdb.h b/src/resources/db/petdb.h
index e3ed9a7da..75175f5c5 100644
--- a/src/resources/db/petdb.h
+++ b/src/resources/db/petdb.h
@@ -23,6 +23,8 @@
#ifndef RESOURCES_DB_PETDB_H
#define RESOURCES_DB_PETDB_H
+#include <string>
+
#include "localconsts.h"
class BeingInfo;
@@ -31,6 +33,8 @@ namespace PETDB
{
void load();
+ void loadXmlFile(const std::string &fileName);
+
void unload();
BeingInfo *get(const int id) A_WARN_UNUSED;