Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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 : */
9 :
10 : #ifndef _LIBLIBREOFFICE_HXX
11 : #define _LIBLIBREOFFICE_HXX
12 :
13 : typedef struct _LODocument LODocument;
14 :
15 0 : class LibLibreOffice
16 : {
17 : public:
18 : virtual bool initialize (const char *installPath) = 0;
19 :
20 : virtual LODocument *documentLoad (const char *url) = 0;
21 : virtual bool documentSave (const char *url) = 0;
22 :
23 0 : virtual ~LibLibreOffice () {};
24 : };
25 :
26 : LibLibreOffice *lo_init (const char *install_path);
27 :
28 : #endif
29 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|