summaryrefslogtreecommitdiffstats
path: root/src/engine/events/SetMetadata.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/events/SetMetadata.hpp')
-rw-r--r--src/engine/events/SetMetadata.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/engine/events/SetMetadata.hpp b/src/engine/events/SetMetadata.hpp
index cf33b5aa..dc67d162 100644
--- a/src/engine/events/SetMetadata.hpp
+++ b/src/engine/events/SetMetadata.hpp
@@ -82,7 +82,13 @@ public:
void post_process();
private:
- enum { NO_ERROR, NOT_FOUND, INTERNAL, BAD_TYPE } _error;
+ enum { NO_ERROR,
+ NOT_FOUND,
+ INTERNAL,
+ BAD_OBJECT_TYPE,
+ BAD_VALUE_TYPE
+ } _error;
+
enum SpecialType {
NONE,
ENABLE,
@@ -101,6 +107,7 @@ private:
Shared::ResourceImpl* _object;
PatchImpl* _patch;
CompiledPatch* _compiled_patch;
+ std::string _error_predicate;
bool _replace;
bool _is_meta;
bool _success;