include/LibreOfficeKit/LibreOfficeKitEnums.h |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 02c0669017d4334e0746417178c8a8d9c6faa484
Author: Tor Lillqvist <t...@collabora.com>
Date:   Fri Mar 4 12:03:54 2016 +0200

    Mention that there are two disjunct sets of callbacks
    
    Change-Id: Ia8f18666c766cafa63cc702bfdfa69e971cf0e71

diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h 
b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index 901bf6b..80ed9de 100644
--- a/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -66,6 +66,15 @@ typedef enum
 }
 LibreOfficeKitOptionalFeatures;
 
+// This enumerates the types of callbacks emitted to a LibreOfficeKit
+// object's callback function or to a LibreOfficeKitDocument object's
+// callback function. No callback type will be emitted to both. It is a
+// bit unfortunate that the same enum contains both kinds of
+// callbacks.
+
+// TODO: We should really add some indication at the documentation for
+// each enum value telling which type of callback it is.
+
 typedef enum
 {
     /**
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to