From d5a00a320043f5782ebc489285c89943b667e094 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 May 2016 00:18:57 +0300 Subject: Add skipError parameter to loadXml functions. This allow not show errors for some not main xml files. --- src/resources/db/emotedb.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/resources/db/emotedb.h') diff --git a/src/resources/db/emotedb.h b/src/resources/db/emotedb.h index 09401103c..6d726de39 100644 --- a/src/resources/db/emotedb.h +++ b/src/resources/db/emotedb.h @@ -22,6 +22,8 @@ #ifndef RESOURCES_DB_EMOTEDB_H #define RESOURCES_DB_EMOTEDB_H +#include "enums/simpletypes/skiperror.h" + #include #include @@ -40,9 +42,11 @@ namespace EmoteDB { void load(); - void loadXmlFile(const std::string &fileName); + void loadXmlFile(const std::string &fileName, + const SkipError skipError); - void loadSpecialXmlFile(const std::string &fileName); + void loadSpecialXmlFile(const std::string &fileName, + const SkipError skipError); void unload(); -- cgit v1.2.3-70-g09d2