2020-07-06 15:02:01 +00:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <jni.h>
|
|
|
|
|
|
|
|
namespace IDCache
|
|
|
|
{
|
|
|
|
static constexpr jint JNI_VERSION = JNI_VERSION_1_6;
|
|
|
|
|
|
|
|
JNIEnv* GetEnvForThread();
|
|
|
|
|
|
|
|
jclass GetNativeLibraryClass();
|
|
|
|
jmethodID GetDisplayAlertMsg();
|
|
|
|
jmethodID GetDoRumble();
|
|
|
|
jmethodID GetUpdateTouchPointer();
|
|
|
|
|
|
|
|
jclass GetAnalyticsClass();
|
|
|
|
jmethodID GetSendAnalyticsReport();
|
|
|
|
jmethodID GetAnalyticsValue();
|
|
|
|
|
|
|
|
jclass GetGameFileClass();
|
|
|
|
jfieldID GetGameFilePointer();
|
|
|
|
jmethodID GetGameFileConstructor();
|
|
|
|
|
|
|
|
jclass GetGameFileCacheClass();
|
|
|
|
jfieldID GetGameFileCachePointer();
|
|
|
|
|
2020-07-24 17:58:46 +00:00
|
|
|
jclass GetLinkedHashMapClass();
|
|
|
|
jmethodID GetLinkedHashMapInit();
|
|
|
|
jmethodID GetLinkedHashMapPut();
|
|
|
|
|
2020-07-06 14:57:49 +00:00
|
|
|
jclass GetIniFileClass();
|
|
|
|
jfieldID GetIniFilePointer();
|
|
|
|
jclass GetIniFileSectionClass();
|
|
|
|
jfieldID GetIniFileSectionPointer();
|
|
|
|
jmethodID GetIniFileSectionConstructor();
|
|
|
|
|
2020-06-25 17:38:02 +00:00
|
|
|
jclass GetCompressCallbackClass();
|
|
|
|
jmethodID GetCompressCallbackRun();
|
|
|
|
|
2020-07-06 15:02:01 +00:00
|
|
|
} // namespace IDCache
|