Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqnxlgmon.h
Go to the documentation of this file.
1// Copyright (C) 2014 BlackBerry Limited. All rights reserved.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQNXLGMON_H
5#define QQNXLGMON_H
6
7#include <qglobal.h>
8
9#if defined(QQNX_LGMON)
10#include <lgmon.h>
11#endif
12
14
15#if defined(QQNX_LGMON)
16
17extern bool qqnxLgmonFirstFrame;
18
19inline void qqnxLgmonInit()
20{
21 lgmon_supported(getpid());
22}
23
24inline void qqnxLgmonFramePosted(bool isCover)
25{
26 if (qqnxLgmonFirstFrame && !isCover) {
27 qqnxLgmonFirstFrame = false;
28 lgmon_app_ready_for_user_input(getpid());
29 }
30}
31
32#else
33
34inline void qqnxLgmonInit() {}
35inline void qqnxLgmonFramePosted(bool /*isCover*/) {}
36
37#endif
38
40
41#endif // QQNXLGMON_H
42
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE bool qqnxLgmonFirstFrame
Definition qqnxlgmon.cpp:8
QT_BEGIN_NAMESPACE void qqnxLgmonInit()
Definition qqnxlgmon.h:34
void qqnxLgmonFramePosted(bool)
Definition qqnxlgmon.h:35