bump sgconnect and sgcore to v2.1.0-9080621 and add an almost functional android implementation
This commit is contained in:
@@ -43,16 +43,31 @@
|
||||
|
||||
#include "SGConnectImpl/SGConnectImpl.h"
|
||||
#include "SGInterop/SGIC_FString.h"
|
||||
|
||||
#if PLATFORM_ANDROID
|
||||
#include "SGInterop/SGIC_jclass.h"
|
||||
#include "SGInterop/SGIC_jmethodID.h"
|
||||
#include "SGInterop/SGIC_JNIEnv_Ptr.h"
|
||||
#endif /* PLATFORM_ANDROID */
|
||||
|
||||
/*******************************************************************************
|
||||
* Exceptional function calls
|
||||
******************************************************************************/
|
||||
|
||||
#if PLATFORM_ANDROID
|
||||
int32 SGConnectImpl_Android_Initialize(void* Env)
|
||||
int32 SGConnectImpl_Android_Initialize(
|
||||
void* InEnv,
|
||||
void* InClass,
|
||||
void* InInitMethodID,
|
||||
void* InDisposeMethodID,
|
||||
void* InGetLibraryVersionMethodID)
|
||||
{
|
||||
return SGConnect::Android::Initialize(StaticCast<FSGIC_JNIEnv_Ptr*>(Env)->Ptr);
|
||||
return SGConnect::Android::Initialize(
|
||||
StaticCast<FSGIC_JNIEnv_Ptr*>(InEnv)->Ptr,
|
||||
StaticCast<FSGIC_jclass*>(InClass)->Class,
|
||||
StaticCast<FSGIC_jmethodID*>(InInitMethodID)->MethodID,
|
||||
StaticCast<FSGIC_jmethodID*>(InDisposeMethodID)->MethodID,
|
||||
StaticCast<FSGIC_jmethodID*>(InGetLibraryVersionMethodID)->MethodID);
|
||||
}
|
||||
#endif /* PLATFORM_ANDROID */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user