summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-03-04 12:03:54 +0200
committerTor Lillqvist <tml@collabora.com>2016-03-04 12:07:47 +0200
commit02c0669017d4334e0746417178c8a8d9c6faa484 (patch)
treec0517d1e6f40a18ab1c2e2b23b48c8bba5393621 /include
parent03614918c028e82df353308837864c6fc7ff992c (diff)
Mention that there are two disjunct sets of callbacks
Change-Id: Ia8f18666c766cafa63cc702bfdfa69e971cf0e71
Diffstat (limited to 'include')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitEnums.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index 901bf6bcd9e6..80ed9def0fd8 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
{
/**