diff options
author | Jan Holesovsky <kendy@collabora.com> | 2016-03-03 09:00:21 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-03-03 10:51:48 +0100 |
commit | 8fb170cbe929fcbf85b24284bf31ec6b06150fbe (patch) | |
tree | 95ef77e48f012dc0f52841f4cbf325da12f786fa /include | |
parent | ae5c80502b4f7d9bfb6a09cd28ab72594552037d (diff) |
sd lok: Remove LOK_CALLBACK_PARTS_COUNT_CHANGED from the API.
LOK_CALLBACK_PARTS_COUNT_CHANGED did not cover more complex scenarios, like
more pages deleted at the same time, etc.
Instead, we need to trigger the LOK_CALLBACK_DOCUMENT_SIZE_CHANGED, and the
client has to be smart enough to update the previews in a way that does not
consume too much resources - ie. it has to have a link between the part names
(which are unique) and the previews, and request only the missing ones.
Change-Id: I36ff5dc86f360e3c7bd2c55fae8aaa99e054b4eb
Diffstat (limited to 'include')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitEnums.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h index e855b6ab9da7..901bf6bcd9e6 100644 --- a/include/LibreOfficeKit/LibreOfficeKitEnums.h +++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h @@ -280,18 +280,6 @@ typedef enum * } */ LOK_CALLBACK_ERROR, - - /** - * A part has been added to or removed from the document. - * - * { - * "action" : "PartInserted" | "PartDeleted" - * "part" : "Part Index" - * } - * - * Note: this is currently emitted by Impress. - */ - LOK_CALLBACK_PARTS_COUNT_CHANGED } LibreOfficeKitCallbackType; |