added api, cleaned up status events
This commit is contained in:
@@ -44,11 +44,9 @@ public class SiwgJNI {
|
||||
private static final int MSG_SIGN_IN = 1;
|
||||
private static final int MSG_SILENT_SIGN_IN = 2;
|
||||
private static final int MSG_SIGN_OUT = 3;
|
||||
private static final int MSG_GET_EVENTS = 11;
|
||||
|
||||
private static final int STATUS_SUCCESS = 1;
|
||||
private static final int STATUS_FAILED = 2;
|
||||
private static final int STATUS_CONFLICT = 4;
|
||||
|
||||
//
|
||||
// Global Properties
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "siwg.h"
|
||||
#include "siwg_jni.h"
|
||||
#include "private_siwg_callback.h"
|
||||
#include "siwg_callback.h"
|
||||
#include "com_aterve_siwg_SiwgJNI.h"
|
||||
|
||||
static bool luaL_checkbool(lua_State *L, int numArg)
|
||||
@@ -265,7 +265,6 @@ static void LuaInit(lua_State* L)
|
||||
|
||||
SETCONSTANT(STATUS_SUCCESS)
|
||||
SETCONSTANT(STATUS_FAILED)
|
||||
SETCONSTANT(STATUS_CONFLICT)
|
||||
#undef SETCONSTANT
|
||||
|
||||
lua_pop(L, 1);
|
||||
|
@@ -13,5 +13,4 @@ enum STATUS
|
||||
{
|
||||
STATUS_SUCCESS = 1,
|
||||
STATUS_FAILED = 2,
|
||||
STATUS_CONFLICT = 4,
|
||||
};
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#if defined(DM_PLATFORM_IOS) || defined(DM_PLATFORM_ANDROID)
|
||||
#include "private_siwg_callback.h"
|
||||
#include "siwg_callback.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
static SIWG_callback m_callback;
|
||||
|
Reference in New Issue
Block a user