summaryrefslogtreecommitdiffhomepage
path: root/diff.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-28 20:31:24 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-28 20:31:24 +0100
commita69b1d0c580bc779740ef79a7d16b69229896785 (patch)
tree962ecac93c521c1d09f1dc1ca727b7121d1b5472 /diff.h
parentdd358ac5cdfc2b449dcbe94a33a06a7540d8f966 (diff)
Client to Server: send diffs instead of whole file
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index fbf09b1..09d0936 100644
--- a/diff.h
+++ b/diff.h
@@ -11,6 +11,9 @@ public:
Diff(const std::string& old_version, const std::string& new_version);
void create(const std::string& old_version, const std::string& new_version);
+ Diff(const boost::property_tree::ptree& ptree);
+ void create(const boost::property_tree::ptree& ptree);
+
Diff(const std::string& xml);
void create(const std::string& xml);