[Libreoffice-commits] core.git: ios/LibreOfficeLight
jan Iversen
jani at libreoffice.org
Sun Feb 11 12:15:05 UTC 2018
ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit f81f63aff6e25d970d3183a12af6ff6fc0c23789
Author: jan Iversen <jani at libreoffice.org>
Date: Sun Feb 11 13:10:17 2018 +0100
iOS, added missing document state in callback
Change-Id: Ib710eb4ce1186571732588948726874a0fb9cb58
diff --git a/ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift b/ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift
index c0760b8614a4..0871c678dcaa 100644
--- a/ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift
+++ b/ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift
@@ -166,6 +166,10 @@ public class DocumentHolder
// TODO: callback?
}
+ case LOK_CALLBACK_STATE_CHANGED:
+ // TODO: call backback
+ print("onDocumentEvent type: LOK_CALLBACK_STATE_CHANGED: \(payload ?? "")")
+
default:
print("onDocumentEvent type:\(type) not handled!")
}
More information about the Libreoffice-commits
mailing list