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// Installs the Android log handler and copies assets.
13KRITAGLOBAL_EXPORT void performInitialSetup();
14
15// Check whether we seem to be running on a Xiaomi device, which requires
16// enabling several workarounds by default. If we need additional workarounds
17// in the future, change this to return an enum or a flag set instead, depending
18// on what's actually needed.
19KRITAGLOBAL_EXPORT bool looksLikeXiaomiDevice();
20
21} // namespace KisAndroidUtils
22
23#endif // __KISANDROIDUTILS_H_