Krita Source Code Documentation
Loading...
Searching...
No Matches
KisAndroidUtils.h
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: GPL-3.0-or-later
3 */
4#ifndef __KISANDROIDUTILS_H_
5#define __KISANDROIDUTILS_H_
6
7#include <kritaglobal_export.h>
8
9namespace KisAndroidUtils
10{
11
12// Check whether we seem to be running on a Xiaomi device, which requires
13// enabling several workarounds by default. If we need additional workarounds
14// in the future, change this to return an enum or a flag set instead, depending
15// on what's actually needed.
16KRITAGLOBAL_EXPORT bool looksLikeXiaomiDevice();
17
18} // namespace KisAndroidUtils
19
20#endif // __KISANDROIDUTILS_H_