summaryrefslogtreecommitdiff
path: root/include/LibreOfficeKit/LibreOfficeKitInit.h
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-02-23 12:47:34 +0100
committerjan iversen <jani@libreoffice.org>2017-03-19 16:36:11 +0000
commitc1f46c54a62030efb93443c025487d2caade5b9c (patch)
tree2aaad8dd781dc2559feeb09cf1a2189c79022076 /include/LibreOfficeKit/LibreOfficeKitInit.h
parent7a2f07c4bd5d26657593044dd441ba5fd168e5de (diff)
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 <ci@libreoffice.org> Reviewed-by: jan iversen <jani@libreoffice.org>
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKitInit.h')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitInit.h10
1 files changed, 10 insertions, 0 deletions
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,8 +43,10 @@ extern "C"
#define SEPARATOR '/'
#ifndef __OBJC__
+#ifdef __cplusplus
inline
#endif
+#endif
void *lok_loadlib(const char *pFN)
{
return dlopen(pFN, RTLD_LAZY
@@ -55,32 +57,40 @@ extern "C"
}
#ifndef __OBJC__
+#ifdef __cplusplus
inline
#endif
+#endif
char *lok_dlerror(void)
{
return dlerror();
}
#ifndef __OBJC__
+#ifdef __cplusplus
inline
#endif
+#endif
void *lok_dlsym(void *Hnd, const char *pName)
{
return dlsym(Hnd, pName);
}
#ifndef __OBJC__
+#ifdef __cplusplus
inline
#endif
+#endif
int lok_dlclose(void *Hnd)
{
return dlclose(Hnd);
}
#ifndef __OBJC__
+#ifdef __cplusplus
inline
#endif
+#endif
void extendUnoPath(const char *pPath)
{
(void)pPath;