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 module com
{ module sun
{ module star
{ module awt
{
12 /** Work in progress, don't use unless you know what you are doing.
15 interface XToolkitExperimental
: XToolkit3
17 /** Process all pending idle events
19 void processEventsToIdle
();
21 /** Get the number of OpenGL buffer swaps.
23 hyper getOpenGLBufferSwapCounter
();
25 /** Turn on or off deterministic scheduling (off is the default).
27 void setDeterministicScheduling
([in] boolean bDeterministicMode
);
29 /** Pause the main thread of LibreOffice for the requested amount of time.
31 void pause
([in] long nMilliseconds
);
33 /** Start time logging.
35 @since LibreOffice 6.0
37 void startRecording
();
39 /** Stop time logging.
41 @since LibreOffice 6.0
45 /** Query time logs and clear recording.
46 First line is the time of the recorded operations in seconds,
47 next ones are the log lines. A log line contains the thread ID,
48 time stamp, profile zone ID and "start" or "stop".
50 @since LibreOffice 6.0
52 sequence
<string> getRecordingAndClear
();
54 /** Wait until all idles dispatched.
56 void waitUntilAllIdlesDispatched
();
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */