include/LibreOfficeKit/LibreOfficeKit.hxx | 12 ++++++++++++ 1 file changed, 12 insertions(+)
New commits: commit 6b4eaa7ee7837e7ff1439ebb06db9200b4b68b61 Author: Jan Holesovsky <ke...@collabora.com> Date: Tue Nov 15 13:07:16 2016 +0100 Add the missing lok::Office::registerCallback(). Change-Id: I0aebf12c4d685f69f094b9acbe6b04bb5b3234a4 diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index 1c9474f..447f44b 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -512,6 +512,18 @@ public: #if defined LOK_USE_UNSTABLE_API || defined LIBO_INTERNAL_ONLY /** + * Registers a callback. LOK will invoke this function when it wants to + * inform the client about events. + * + * @param pCallback the callback to invoke + * @param pData the user data, will be passed to the callback on invocation + */ + inline void registerCallback(LibreOfficeKitCallback pCallback, void* pData) + { + mpThis->pClass->registerCallback(mpThis, pCallback, pData); + } + + /** * Returns details of filter types. * * Example returned string: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits