forked from dolphin-emu/dolphin
		
	Added an option in General config to enable/disable usage statistics. Added a popup on first open if the user would like to engage in reporting. Clicking cancel or out of the box opts out. Only clicking 'Ok' will enable reporting. Also added a new android specific values to report.
		
			
				
	
	
		
			30 lines
		
	
	
		
			618 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			618 B
		
	
	
	
		
			C++
		
	
	
	
	
	
// 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;
 | 
						|
 | 
						|
JavaVM* GetJavaVM();
 | 
						|
 | 
						|
jclass GetNativeLibraryClass();
 | 
						|
jmethodID GetDisplayAlertMsg();
 | 
						|
 | 
						|
jclass GetAnalyticsClass();
 | 
						|
jmethodID GetSendAnalyticsReport();
 | 
						|
jmethodID GetAnalyticsValue();
 | 
						|
 | 
						|
jclass GetGameFileClass();
 | 
						|
jfieldID GetGameFilePointer();
 | 
						|
jmethodID GetGameFileConstructor();
 | 
						|
 | 
						|
jclass GetGameFileCacheClass();
 | 
						|
jfieldID GetGameFileCachePointer();
 | 
						|
 | 
						|
}  // namespace IDCache
 |