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
androidmultimediautils_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
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 ANDROIDMULTIMEDIAUTILS_H
5#define ANDROIDMULTIMEDIAUTILS_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 <qobject.h>
19
21
23{
24public:
25 enum MediaType {
26 Music = 0,
27 Movies = 1,
28 DCIM = 2,
29 Sounds = 3
30 };
31
32 static void enableOrientationListener(bool enable);
33 static int getDeviceOrientation();
35 static void registerMediaFile(const QString &file);
36};
37
39
40#endif // ANDROIDMULTIMEDIAUTILS_H
static QString getDefaultMediaDirectory(MediaType type)
static void registerMediaFile(const QString &file)
static void enableOrientationListener(bool enable)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLenum type
GLboolean enable
QFile file
[0]