Version 7.1.7.1, tag libreoffice-7.1.7.1
[LibreOffice.git] / include / LibreOfficeKit / LibreOfficeKitTypes.h
blob5f4e3d4d870f5238d198169ecf8e68fc681608bb
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_LIBREOFFICEKIT_LIBREOFFICEKIT_TYPES_H
11 #define INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKIT_TYPES_H
13 #include <stddef.h>
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
19 /** @see lok::Office::registerCallback().
20 @since LibreOffice 6.0
22 typedef void (*LibreOfficeKitCallback)(int nType, const char* pPayload, void* pData);
24 /** @see lok::Office::runLoop().
25 @since LibreOffice 6.3
27 typedef int (*LibreOfficeKitPollCallback)(void* pData, int timeoutUs);
28 typedef void (*LibreOfficeKitWakeCallback)(void* pData);
30 #ifdef __cplusplus
32 #endif
34 #endif // INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKIT_TYPES_H
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */