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
9
namespace
KisAndroidUtils
10
{
11
12
// Installs the Android log handler and copies assets.
13
KRITAGLOBAL_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.
19
KRITAGLOBAL_EXPORT
bool
looksLikeXiaomiDevice
();
20
21
}
// namespace KisAndroidUtils
22
23
#endif
// __KISANDROIDUTILS_H_
KisAndroidUtils
Definition
KisAndroidUtils.cpp:9
KisAndroidUtils::looksLikeXiaomiDevice
bool looksLikeXiaomiDevice()
Definition
KisAndroidUtils.cpp:25
KisAndroidUtils::performInitialSetup
void performInitialSetup()
Definition
KisAndroidUtils.cpp:11
libs
global
KisAndroidUtils.h
Generated at
2026-06-01 02:30:02+02:00
from
Krita
branch
master
, commit
a9b6c3f4afae3a0c297c10252e67294f96104a6a