summaryrefslogtreecommitdiff
path: root/src/utils/xmlutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-12 01:02:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-12 01:02:51 +0300
commit07c62ac076c698cb7d6a4f8ceed616d982421f14 (patch)
treefe5b5b2115f1287608dd6c6a0850d36fd7760c12 /src/utils/xmlutils.h
parentd5a00a320043f5782ebc489285c89943b667e094 (diff)
downloadmanaverse-07c62ac076c698cb7d6a4f8ceed616d982421f14.tar.gz
manaverse-07c62ac076c698cb7d6a4f8ceed616d982421f14.tar.bz2
manaverse-07c62ac076c698cb7d6a4f8ceed616d982421f14.tar.xz
manaverse-07c62ac076c698cb7d6a4f8ceed616d982421f14.zip
Add skipError parameter into xmlutils.
Diffstat (limited to 'src/utils/xmlutils.h')
-rw-r--r--src/utils/xmlutils.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/utils/xmlutils.h b/src/utils/xmlutils.h
index 95ae1e562..928519267 100644
--- a/src/utils/xmlutils.h
+++ b/src/utils/xmlutils.h
@@ -21,6 +21,8 @@
#ifndef UTILS_XMLUTILS_H
#define UTILS_XMLUTILS_H
+#include "enums/simpletypes/skiperror.h"
+
#include <string>
#include <map>
#include <vector>
@@ -30,7 +32,8 @@ void readXmlIntVector(const std::string &fileName,
const std::string &sectionName,
const std::string &itemName,
const std::string &attributeName,
- std::vector<int> &arr);
+ std::vector<int> &arr,
+ const SkipError skipError);
void readXmlStringMap(const std::string &fileName,
const std::string &rootName,
@@ -38,6 +41,7 @@ void readXmlStringMap(const std::string &fileName,
const std::string &itemName,
const std::string &attributeKeyName,
const std::string &attributeValueName,
- std::map<std::string, std::string> &arr);
+ std::map<std::string, std::string> &arr,
+ const SkipError skipError);
#endif // UTILS_XMLUTILS_H