summaryrefslogtreecommitdiff
path: root/RealtimeSync/xmlProcessing.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:00:17 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:00:17 +0200
commitfd0853d2623dd278b08288331ed42e3be59252fb (patch)
treea7645daeaef8bdbed064faf4eb88e72cee58726c /RealtimeSync/xmlProcessing.h
parent2.1 (diff)
downloadFreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.tar.gz
FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.tar.bz2
FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.zip
2.2
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