1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKIT_TYPES_H
11 #define INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKIT_TYPES_H
20 /** @see lok::Office::registerCallback().
21 @since LibreOffice 6.0
23 typedef void (*LibreOfficeKitCallback
)(int nType
, const char* pPayload
, void* pData
);
25 /** @see lok::Office::runLoop().
26 @since LibreOffice 6.3
28 typedef int (*LibreOfficeKitPollCallback
)(void* pData
, int timeoutUs
);
29 typedef void (*LibreOfficeKitWakeCallback
)(void* pData
);
35 #endif // INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKIT_TYPES_H
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */