From 1010eff6c216a57177f70f08b31ca156483d03ce Mon Sep 17 00:00:00 2001 From: belladj <belladestianajunaidi@gmail.com> Date: Thu, 25 Apr 2019 09:09:52 +0700 Subject: [PATCH] add saveChanges --- src/Controller.cpp | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/src/Controller.cpp b/src/Controller.cpp index 1fbfdeb..e4c2536 100644 --- a/src/Controller.cpp +++ b/src/Controller.cpp @@ -15,41 +15,13 @@ public: Controller(); ~Controller(); - void init(string addr1, string addr2) - { - - } - - void sendCRDTState (string addr) - { - - } - - void sendListAddress () - { - - } - - void broadcastVector () - { - - } - - void ping (string addr) - { - - } - void updateCRDT(CRDT crdt) { crdt.update(); } - void updateVersionVector(VersionVector vv) - { - } vector<Version> getNotifyOperation(VersionVector vv) { @@ -81,7 +53,7 @@ public: void saveChanges(Editor e) { - + e.saveFile(); } void saveDeletionBuffer() -- GitLab