Bump version to 21.06.18.1
[LibreOffice.git] / include / vcl / lok.hxx
blob108f46def8aad0e3e409f4af7b847f6927d4cecb
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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_VCL_LOK_HXX
11 #define INCLUDED_VCL_LOK_HXX
13 #include <sal/config.h>
14 #include <vcl/dllapi.h>
15 #include <LibreOfficeKit/LibreOfficeKitTypes.h>
17 namespace vcl::lok
19 bool VCL_DLLPUBLIC isUnipoll();
20 void VCL_DLLPUBLIC registerPollCallbacks(LibreOfficeKitPollCallback pPollCallback,
21 LibreOfficeKitWakeCallback pWakeCallback, void* pData);
22 void VCL_DLLPUBLIC unregisterPollCallbacks();
24 // Called to tell VCL that the number of document views has changed, so that VCL
25 // can adjust e.g. sizes of bitmap caches to scale well with larger number of users.
26 void VCL_DLLPUBLIC numberOfViewsChanged(int count);
29 #endif // INCLUDE_VCL_LOK_HXX
31 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */