blob: 4be59e9178c27f1f75098087965b27c70d070de5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <android_native_app_glue.h>
#include <mbgl/util/logging.hpp>
#include "jni.hpp"
namespace mbgl {
namespace android {
int severityToPriority(EventSeverity severity);
void changeState(JNIEnv* env, struct android_app* app, bool result);
bool copyFile(JNIEnv* env,
AAssetManager* assetManager,
const std::string& filePath,
const std::string& destinationPath,
const std::string& fileName);
void unZipFile(JNIEnv* env, const std::string& zipFilePath, const std::string& destinationPath);
} // namespace android
} // namespace mbgl
|