diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-09-24 17:29:53 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2019-09-30 11:25:23 +0200 |
commit | 2e347c94503321c2102c6f78f5f5bcb771727e69 (patch) | |
tree | 3db64e248ba18daeedf549c53548e64a93119d25 /include/LibreOfficeKit | |
parent | 460908269972fd1f89312a1e62897ed1503e9e98 (diff) |
jsdialogs: add callback LOK_CALLBACK_JSDIALOG
Change-Id: Ie79e24ae3a376e0de3d82daff4a1263c7ce3b33a
Reviewed-on: https://gerrit.libreoffice.org/79825
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitEnums.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h index 17e1c3e27740..829eca07e500 100644 --- a/include/LibreOfficeKit/LibreOfficeKitEnums.h +++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h @@ -703,6 +703,12 @@ typedef enum * } */ LOK_CALLBACK_REFERENCE_MARKS = 45, + + /** + * Callback related to native dialogs generated in JavaScript from + * the description. + */ + LOK_CALLBACK_JSDIALOG = 46, } LibreOfficeKitCallbackType; @@ -823,6 +829,8 @@ static inline const char* lokCallbackTypeToString(int nType) return "LOK_CALLBACK_TABLE_SELECTED"; case LOK_CALLBACK_REFERENCE_MARKS: return "LOK_CALLBACK_REFERENCE_MARKS"; + case LOK_CALLBACK_JSDIALOG: + return "LOK_CALLBACK_JSDIALOG"; } assert(!"Unknown LibreOfficeKitCallbackType type."); |