1 | // SPDX-FileCopyrightText: 2021 Alexander Lohnau <alexander.lohnau@gmx.de> |
2 | // SPDX-License-Identifier: LGPL-2.0-or-later |
3 | |
4 | #include <QStringList> |
5 | |
6 | #include "kcoreaddons_export.h" |
7 | |
8 | /** |
9 | * @brief Utility functions around the runtime platform. |
10 | */ |
11 | namespace KRuntimePlatform |
12 | { |
13 | /** |
14 | * Returns the runtime platform, e.g.\ "desktop" or "tablet, touch". The first entry/ies in the list relate to the platform |
15 | * formfactor and the last is the input method specialization. |
16 | * If the string is empty, there is no specified runtime platform and a traditional desktop environment may be assumed. |
17 | * |
18 | * The value is read using the PLASMA_PLATFORM env variable |
19 | * @since 5.97 |
20 | */ |
21 | KCOREADDONS_EXPORT QStringList runtimePlatform(); |
22 | } |
23 | |