summaryrefslogtreecommitdiff
path: root/server/src/journalwriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/journalwriter.h')
-rw-r--r--server/src/journalwriter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/journalwriter.h b/server/src/journalwriter.h
index 5bde707..2cd191d 100644
--- a/server/src/journalwriter.h
+++ b/server/src/journalwriter.h
@@ -34,13 +34,18 @@
#include "transaction.h"
#include "template.h"
+class SessionSerialiser;
+
class JournalWriter {
+ friend class SessionSerialiser;
public:
JournalWriter(std::string host, unsigned short int port);
void addEntry(Transaction &transaction, Commit &commit,
std::string resume, Template *templ);
+ void addEntry(std::string resume, std::string macro, int index);
+
void commit();
private: