1 | // Copyright (C) 2015 Paul Lemire |
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 QT3DCORE_QTICKCLOCKSERVICE_P_H |
5 | #define QT3DCORE_QTICKCLOCKSERVICE_P_H |
6 | |
7 | // |
8 | // W A R N I N G |
9 | // ------------- |
10 | // |
11 | // This file is not part of the Qt API. It exists purely as an |
12 | // implementation detail. This header file may change from version to |
13 | // version without notice, or even be removed. |
14 | // |
15 | // We mean it. |
16 | // |
17 | |
18 | #include <Qt3DCore/private/qabstractframeadvanceservice_p.h> |
19 | |
20 | QT_BEGIN_NAMESPACE |
21 | |
22 | namespace Qt3DCore { |
23 | |
24 | class QTickClockServicePrivate; |
25 | |
26 | class QTickClockService : public QAbstractFrameAdvanceService |
27 | { |
28 | Q_OBJECT |
29 | public: |
30 | QTickClockService(); |
31 | ~QTickClockService(); |
32 | |
33 | qint64 waitForNextFrame() final; |
34 | void start() final; |
35 | void stop() final; |
36 | |
37 | Q_DECLARE_PRIVATE(QTickClockService) |
38 | }; |
39 | |
40 | } // Qt3D |
41 | |
42 | QT_END_NAMESPACE |
43 | |
44 | #endif // QT3DCORE_QTICKCLOCKSERVICE_P_H |
45 | |