summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2016-03-03 09:00:21 +0100
committerJan Holesovsky <kendy@collabora.com>2016-03-03 12:18:08 +0100
commit0ba1ebdd72f0612b61f28b11c7861121e7529f31 (patch)
tree0ab7c94cd7da3be79534dd83eb2c7be868ce3b4a /include
parent55a81745de7470d4e42b7af87349a055cd5ef393 (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.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index 7e2cc30b2cc7..343d169b7b07 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;