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

Ashod Nakashian ashod.nakashian at collabora.co.uk
Wed Jul 27 15:59:24 UTC 2016


 loolwsd/ChildSession.cpp |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

New commits:
commit 7826d858321a19fdc730cdb409435ed4b3ed66f6
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Wed Jul 27 08:15:53 2016 -0400

    loolwsd: forward new notifications
    
    Change-Id: I434545a5edb48f957d0e03c02040cc25644f67c4
    Reviewed-on: https://gerrit.libreoffice.org/27586
    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 3413948..682750c 100644
--- a/loolwsd/ChildSession.cpp
+++ b/loolwsd/ChildSession.cpp
@@ -237,6 +237,23 @@ public:
         case LOK_CALLBACK_STATUS_INDICATOR_FINISH:
             _session.sendTextFrame("statusindicatorfinish:");
             break;
+        case LOK_CALLBACK_INVALIDATE_VIEW_CURSOR:
+            _session.sendTextFrame("invalidateviewcursor: " + rPayload);
+            break;
+        case LOK_CALLBACK_TEXT_VIEW_SELECTION:
+            _session.sendTextFrame("textviewselection: " + rPayload);
+            break;
+        case LOK_CALLBACK_CELL_VIEW_CURSOR:
+            _session.sendTextFrame("cellviewcursor: " + rPayload);
+            break;
+        case LOK_CALLBACK_GRAPHIC_VIEW_SELECTION:
+            _session.sendTextFrame("graphicviewselection: " + rPayload);
+            break;
+        case LOK_CALLBACK_VIEW_LOCK:
+            _session.sendTextFrame("viewlock: " + rPayload);
+            break;
+        default:
+            Log::error("Unknown callback event (" + std::to_string(nType) + "): " + rPayload);
         }
     }
 


More information about the Libreoffice-commits mailing list