Semi-working (Full|Diff)State -> XML and back conversions
diff --git a/model/sync-diff-state.h b/model/sync-diff-state.h
index 4a46969..053be84 100644
--- a/model/sync-diff-state.h
+++ b/model/sync-diff-state.h
@@ -24,6 +24,7 @@
#define SYNC_DIFF_STATE_H
#include "sync-state.h"
+#include <iostream>
namespace Sync {
@@ -96,6 +97,15 @@
DigestConstPtr m_digest;
};
+/**
+ * @brief Formats an XML representation of the diff state
+ * @param os output stream
+ * @param state state
+ * @returns output stream
+ */
+std::ostream &
+operator << (std::ostream &os, const DiffState &state);
+
} // Sync
#endif // SYNC_DIFF_STATE_H