blob: 55e50078c820f5525b70a00451aff57e0eb07276 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include <jni/jni.hpp>
#include "local.hpp"
namespace mbgl {
namespace android {
class Locale {
public:
static constexpr auto Name() {
return "java/util/Locale";
};
static void registerNative(jni::JNIEnv&);
static jni::Object<Locale> ForLanguageTag(jni::JNIEnv&, jni::String languageTag);
private:
static jni::Class<Locale> _class;
};
} // namespace android
} // namespace mbgl
|