summaryrefslogtreecommitdiff
path: root/RealtimeSync/xmlProcessing.h
diff options
context:
space:
mode:
Diffstat (limited to 'RealtimeSync/xmlProcessing.h')
-rw-r--r--RealtimeSync/xmlProcessing.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/RealtimeSync/xmlProcessing.h b/RealtimeSync/xmlProcessing.h
new file mode 100644
index 00000000..90842abf
--- /dev/null
+++ b/RealtimeSync/xmlProcessing.h
@@ -0,0 +1,23 @@
+#ifndef XMLPROCESSING_H_INCLUDED
+#define XMLPROCESSING_H_INCLUDED
+
+#include <vector>
+#include <wx/string.h>
+#include "../shared/xmlBase.h"
+
+
+namespace xmlAccess
+{
+ struct XmlRealConfig
+ {
+ XmlRealConfig() : delay(5) {}
+ std::vector<wxString> directories;
+ wxString commandline;
+ unsigned int delay;
+ };
+
+ void readRealConfig(const wxString& filename, XmlRealConfig& config); //throw (xmlAccess::XmlError);
+ void writeRealConfig(const XmlRealConfig& outputCfg, const wxString& filename); //throw (xmlAccess::XmlError);
+}
+
+#endif // XMLPROCESSING_H_INCLUDED
bgstack15