GPU-Calc: remove Alloc_Host_Ptr for clmem of NAN vector
[LibreOffice.git] / desktop / inc / liblibreoffice.h
blobdb3b8358a9afbd2e2903fefe51f93a5043e3536c
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_DESKTOP_INC_LIBLIBREOFFICE_H
11 #define INCLUDED_DESKTOP_INC_LIBLIBREOFFICE_H
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 typedef struct _LibreOffice LibreOffice;
18 typedef struct _LibreOfficeDocument LibreOfficeDocument;
20 struct _LibreOffice {
21 int nSize;
23 void (*destroy) (LibreOffice *pThis);
24 int (*initialize) (LibreOffice *pThis,
25 const char *pInstallPath);
26 LibreOfficeDocument *(*documentLoad) (LibreOffice *pThis,
27 const char *pURL);
28 char * (*getError) (LibreOffice *pThis);
31 struct _LibreOfficeDocument {
32 int nSize;
34 void (*destroy) (LibreOfficeDocument *pThis);
35 int (*saveAs) (LibreOfficeDocument *pThis,
36 const char *pUrl, const char *pFormat);
39 LibreOffice *lo_init (const char *install_path);
41 #ifdef __cplusplus
43 #endif
45 #endif
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */