summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2018-02-11 13:10:17 +0100
committerjan Iversen <jani@libreoffice.org>2018-02-11 13:14:41 +0100
commitf81f63aff6e25d970d3183a12af6ff6fc0c23789 (patch)
tree207bec4bdc50f166da6f7d031ab3333cd0b38232 /ios
parentAdd origin URL to Graphic to remember where the image came from (diff)
downloadcore-f81f63aff6e25d970d3183a12af6ff6fc0c23789.tar.gz
core-f81f63aff6e25d970d3183a12af6ff6fc0c23789.zip
iOS, added missing document state in callback
Change-Id: Ib710eb4ce1186571732588948726874a0fb9cb58
Diffstat (limited to 'ios')
-rw-r--r--ios/LibreOfficeLight/LibreOfficeLight/LOKit/DocumentHolder.swift4
1 files changed, 4 insertions, 0 deletions
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!")
}