diff options
author | jan Iversen <jani@libreoffice.org> | 2017-11-23 08:47:59 +0100 |
---|---|---|
committer | jan Iversen <jani@libreoffice.org> | 2017-11-23 08:53:39 +0100 |
commit | ed885a3cdbfc4b4d194d40508a29334b9780858f (patch) | |
tree | a1f81948f89fe93fd95fc513a300c392ef65a917 /ios/source/LibreOfficeKit.h | |
parent | 62da53e52cf141a7cdf8a27e95737a575fbf1696 (diff) |
iOS, do not use different C compilers
LibreOfficeKit.c was compiled with an xcode project and not like
all other sources. Changed to use clang with same switches as
rest of LO.
Separated resource generation in own makefile
Removed project LibreOfficeKit which was responsible for prelink.
Change-Id: Iaf9fbb4b652501af0b7f3643ed3efcc2ed93b611
Diffstat (limited to 'ios/source/LibreOfficeKit.h')
-rw-r--r-- | ios/source/LibreOfficeKit.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ios/source/LibreOfficeKit.h b/ios/source/LibreOfficeKit.h new file mode 100644 index 000000000000..3c6498c06854 --- /dev/null +++ b/ios/source/LibreOfficeKit.h @@ -0,0 +1,20 @@ +// +// This file is part of the LibreOffice project. +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// + +// Bridge functions between LibreOfficeKit library and swift application. +// Only functions mentioned here can be used from the application +// The swift compiler uses this header to generate a needed interface +// The functions (LibreOfficeKit.mm) calls functions directly in LibreOffice + +int BridgeLOkit_Init(const char *path); +int BridgeLOkit_Sizing(const int countXtiles, const int countYtiles, + const int pixelsXtile, const int pixelsYtile); +int BridgeLOkit_open(const char *path); +int BridgeLOkit_ClientCommand(const char *input); +int BridgeLOkit_Hipernate(void); +int BridgeLOkit_LeaveHipernate(void); |