From c1f46c54a62030efb93443c025487d2caade5b9c Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 23 Feb 2017 12:47:34 +0100 Subject: ios LibreOfficeLight LOkit integration Integrated LibreOfficeLight into gbuild. added lo.xcconfig and Resources (needed to link with LO and run LO) added swift --> C interface for LOkit add known commands from JS client added C++ condition in LibreOfficekitInit.h (inline no good in a C file) Change-Id: I19ebe8912546408bf701c96c0c63541d6e37cad8 Reviewed-on: https://gerrit.libreoffice.org/35430 Tested-by: Jenkins Reviewed-by: jan iversen --- include/LibreOfficeKit/LibreOfficeKitInit.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h index f4ab9cdf2082..d19aa0fae9ef 100644 --- a/include/LibreOfficeKit/LibreOfficeKitInit.h +++ b/include/LibreOfficeKit/LibreOfficeKitInit.h @@ -43,7 +43,9 @@ extern "C" #define SEPARATOR '/' #ifndef __OBJC__ +#ifdef __cplusplus inline +#endif #endif void *lok_loadlib(const char *pFN) { @@ -55,7 +57,9 @@ extern "C" } #ifndef __OBJC__ +#ifdef __cplusplus inline +#endif #endif char *lok_dlerror(void) { @@ -63,7 +67,9 @@ extern "C" } #ifndef __OBJC__ +#ifdef __cplusplus inline +#endif #endif void *lok_dlsym(void *Hnd, const char *pName) { @@ -71,7 +77,9 @@ extern "C" } #ifndef __OBJC__ +#ifdef __cplusplus inline +#endif #endif int lok_dlclose(void *Hnd) { @@ -79,7 +87,9 @@ extern "C" } #ifndef __OBJC__ +#ifdef __cplusplus inline +#endif #endif void extendUnoPath(const char *pPath) { -- cgit