From c406c90289baa12663a382c7ed664f2cf93b75ab Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Tue, 2 Feb 2016 22:59:34 +0100 Subject: lok interaction handler: Add handling of io and network errors. Change-Id: If7c84a7b24f2072439718fb0c473b73243f2ecc1 --- include/LibreOfficeKit/LibreOfficeKitEnums.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include') diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h index b615bd94f9d1..5ce8610267ec 100644 --- a/include/LibreOfficeKit/LibreOfficeKitEnums.h +++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h @@ -265,6 +265,20 @@ typedef enum * lok::Office::setDocumentPassword(). */ LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY, + + /** + * An error happened. + * + * The payload returns information further identifying the error, like: + * + * { + * "classification": "error" | "warning" | "info" + * "kind": "network" etc. + * "code": 403 | 404 | ... + * "message": freeform description + * } + */ + LOK_CALLBACK_ERROR, } LibreOfficeKitCallbackType; -- cgit