[Libreoffice-commits] online.git: loolwsd/ChildProcessSession.cpp loolwsd/LOKitClient.cpp
Pranav Kant
pranavk at collabora.com
Wed Feb 17 10:55:33 UTC 2016
loolwsd/ChildProcessSession.cpp | 4 ++++
loolwsd/LOKitClient.cpp | 1 +
2 files changed, 5 insertions(+)
New commits:
commit da729a2b748b7bb184bac6a0b86eed22f2fbb220
Author: Pranav Kant <pranavk at collabora.com>
Date: Wed Feb 17 15:13:26 2016 +0530
loolwsd: Add missing callbacks
We have a new callback now in LO core.
Change-Id: I560e5e31d08cf2b9969b8c5f9614630c29ee89c6
diff --git a/loolwsd/ChildProcessSession.cpp b/loolwsd/ChildProcessSession.cpp
index d7c91c5..b32d4c5 100644
--- a/loolwsd/ChildProcessSession.cpp
+++ b/loolwsd/ChildProcessSession.cpp
@@ -116,6 +116,8 @@ public:
return std::string("LOK_CALLBACK_DOCUMENT_SIZE_CHANGED");
case LOK_CALLBACK_SET_PART:
return std::string("LOK_CALLBACK_SET_PART");
+ case LOK_CALLBACK_PARTS_COUNT_CHANGED:
+ return std::string("LOK_CALLBACK_PARTS_COUNT_CHANGED");
}
return std::to_string(nType);
}
@@ -256,6 +258,8 @@ public:
" kind=" + object->get("kind").toString() + " code=" + object->get("code").toString());
}
break;
+ case LOK_CALLBACK_PARTS_COUNT_CHANGED:
+ break;
}
}
diff --git a/loolwsd/LOKitClient.cpp b/loolwsd/LOKitClient.cpp
index 0d94115..d44f8ae 100644
--- a/loolwsd/LOKitClient.cpp
+++ b/loolwsd/LOKitClient.cpp
@@ -67,6 +67,7 @@ extern "C"
CASE(DOCUMENT_PASSWORD);
CASE(DOCUMENT_PASSWORD_TO_MODIFY);
CASE(ERROR);
+ CASE(PARTS_COUNT_CHANGED);
#undef CASE
}
std::cout << " payload: " << pPayload << std::endl;
More information about the Libreoffice-commits
mailing list