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
qqnxmediaeventthread_p.h
Go to the documentation of this file.
1// Copyright (C) 2017 QNX Software Systems. All rights reserved.
2// Copyright (C) 2021 The Qt Company
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QQNXMEDIAEVENTTHREAD_P_H
6#define QQNXMEDIAEVENTTHREAD_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/QThread>
20
21#include <sys/neutrino.h>
22#include <sys/siginfo.h>
23
25
26typedef struct mmr_context mmr_context_t;
27
29{
31
32public:
34 ~QQnxMediaEventThread() override;
35
36 void signalRead();
37
38protected:
39 void run() override;
40
43
44private:
45 void shutdown();
46
47 int m_channelId;
48 int m_connectionId;
49 struct sigevent m_mmrEvent;
50 mmr_context_t *m_mmrContext;
51};
52
54
55#endif // QQnxMediaEventThread_H
QQnxMediaEventThread(mmr_context_t *context)
Combined button and popup list for selecting options.
static void * context
typedefQT_BEGIN_NAMESPACE struct mmr_context mmr_context_t
#define Q_OBJECT
#define Q_SIGNALS