[Libreoffice-commits] online.git: loolwsd/ChildSession.cpp loolwsd/protocol.txt

Ashod Nakashian ashod.nakashian at collabora.co.uk
Mon Aug 22 05:47:13 UTC 2016


 loolwsd/ChildSession.cpp |    3 +++
 loolwsd/protocol.txt     |    6 ++++++
 2 files changed, 9 insertions(+)

New commits:
commit 4b28a9a4fc2af4ecf151c50cc8f081a3e516b821
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sun Aug 21 11:15:50 2016 -0400

    loolwsd: forward redline table update notification event to the UI
    
    Change-Id: I45df2a1aaf826301a113f8cf0a8c609d46b794a7
    Reviewed-on: https://gerrit.libreoffice.org/28304
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/ChildSession.cpp b/loolwsd/ChildSession.cpp
index d94b68b..ebcc5f7 100644
--- a/loolwsd/ChildSession.cpp
+++ b/loolwsd/ChildSession.cpp
@@ -1061,6 +1061,9 @@ void ChildSession::loKitCallback(const int nType, const std::string& rPayload)
     case LOK_CALLBACK_VIEW_LOCK:
         sendTextFrame("viewlock: " + rPayload);
         break;
+    case LOK_CALLBACK_REDLINE_TABLE_SIZE_CHANGED:
+        sendTextFrame("redlinetablechanged: " + rPayload);
+        break;
     default:
         Log::error("Unknown callback event (" + std::to_string(nType) + "): " + rPayload);
     }
diff --git a/loolwsd/protocol.txt b/loolwsd/protocol.txt
index 94b2881..9a10a16 100644
--- a/loolwsd/protocol.txt
+++ b/loolwsd/protocol.txt
@@ -345,6 +345,12 @@ remallviews:
     Removes all views to send only current ones.
     The UI should still maintain its own view and cursor.
 
+redlinetablechanged:
+
+    Signals that the redlines table has been modified.
+    Redlines are used for tracking changes.
+
+
 child -> parent
 ===============
 


More information about the Libreoffice-commits mailing list