summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/noOutputExecute.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/project2/noOutputExecute.cpp b/project2/noOutputExecute.cpp
new file mode 100644
index 0000000..7608329
--- /dev/null
+++ b/project2/noOutputExecute.cpp
@@ -0,0 +1,14 @@
+#include "noOutputExecute.h"
+
+NoOutputExecute::NoOutputExecute(const xmlpp::Element * p) :
+ SourceObject(p),
+ isErrorHandler(p->get_attribute_value("onerror") == "true")
+{
+}
+
+NoOutputExecute::NoOutputExecute(const std::string & n) :
+ SourceObject(n),
+ isErrorHandler(false)
+{
+}
+