void s3ePlayhavenRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[13];
    funcPtrs[0] = (void*)s3ePlayhavenInitWithKeys;
    funcPtrs[1] = (void*)s3ePHRegisterCallback;
    funcPtrs[2] = (void*)s3ePHSendAppOpen;
    funcPtrs[3] = (void*)s3ePHSendContentRequest;
    funcPtrs[4] = (void*)s3ePHPreloadContentRequest;
    funcPtrs[5] = (void*)s3ePHCancelAllContentRequests;
    funcPtrs[6] = (void*)s3ePHReportResolution;
    funcPtrs[7] = (void*)s3ePHSendPublisherIAPTrackingRequest;
    funcPtrs[8] = (void*)s3ePHShowNotificationView;
    funcPtrs[9] = (void*)s3ePHClearNotificationView;
    funcPtrs[10] = (void*)s3ePHRefreshNotificationView;
    funcPtrs[11] = (void*)s3ePHSetOptOutStatus;
    funcPtrs[12] = (void*)s3ePHSendPublisherIAPTrackingRequestWithReceipt;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[13] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3ePlayhaven", funcPtrs, sizeof(funcPtrs), flags, s3ePlayhavenInit, s3ePlayhavenTerminate, 0);
}
Пример #2
0
void s3eOpenIabRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[14];
    funcPtrs[0] = (void*)s3eOpenIabRegister;
    funcPtrs[1] = (void*)s3eOpenIabUnRegister;
    funcPtrs[2] = (void*)s3eOpenIabStart;
    funcPtrs[3] = (void*)s3eOpenIabStop;
    funcPtrs[4] = (void*)s3eOpenIabIsSupported;
    funcPtrs[5] = (void*)s3eOpenIabRequestPurchase;
    funcPtrs[6] = (void*)s3eOpenIabRequestProductInformation;
    funcPtrs[7] = (void*)s3eOpenIabRestoreTransactions;
    funcPtrs[8] = (void*)s3eOpenIabConsumeItem;
    funcPtrs[9] = (void*)s3eOpenIabGetStoreNames;
    funcPtrs[10] = (void*)s3eOpenIabMapSku;
    funcPtrs[11] = (void*)s3eOpenIabIsDebugLog;
    funcPtrs[12] = (void*)s3eOpenIabEnableDebugLogging;
    funcPtrs[13] = (void*)s3eOpenIabEnableDebugTagLogging;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[14] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eOpenIab", funcPtrs, sizeof(funcPtrs), flags, s3eOpenIabInit, s3eOpenIabTerminate, 0);
}
void gamepadRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[14];
    funcPtrs[0] = (void*)gamepadGetNumDevices;
    funcPtrs[1] = (void*)gamepadGetDeviceId;
    funcPtrs[2] = (void*)gamepadGetDeviceName;
    funcPtrs[3] = (void*)gamepadGetNumAxes;
    funcPtrs[4] = (void*)gamepadGetNumButtons;
    funcPtrs[5] = (void*)gamepadGetButtons;
    funcPtrs[6] = (void*)gamepadGetAxis;
    funcPtrs[7] = (void*)gamepadIsPointOfViewAvailable;
    funcPtrs[8] = (void*)gamepadGetPointOfViewAngle;
    funcPtrs[9] = (void*)gamepadRegisterCallback;
    funcPtrs[10] = (void*)gamepadUnregisterCallback;
    funcPtrs[11] = (void*)gamepadUpdate;
    funcPtrs[12] = (void*)gamepadReset;
    funcPtrs[13] = (void*)gamepadCalibrate;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[14] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("gamepad", funcPtrs, sizeof(funcPtrs), flags, gamepadInit, gamepadTerminate, 0);
}
void s3eGooglePlayGamesRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[11];
    funcPtrs[0] = (void*)s3eGPGInitialize;
    funcPtrs[1] = (void*)s3eGPGDeInitialize;
    funcPtrs[2] = (void*)s3eGPGRegisterCallback;
    funcPtrs[3] = (void*)s3eGPGUnRegisterCallback;
    funcPtrs[4] = (void*)s3eGPGUnlockAchievement;
    funcPtrs[5] = (void*)s3eGPGUnlockIncrementalAchievement;
    funcPtrs[6] = (void*)s3eGPGShowAchievementsUI;
    funcPtrs[7] = (void*)s3eGPGSubmitLeaderboardScore;
    funcPtrs[8] = (void*)s3eGPGShowLeaderboardUI;
    funcPtrs[9] = (void*)s3eGPGIsSignedIn;
    funcPtrs[10] = (void*)s3eGPGShowAllLeaderBoardsUI;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[11] = { 0 };

    /*
     * Register the extension
     */
s3eEdkRegister("s3eGooglePlayGames", funcPtrs, sizeof(funcPtrs), flags, s3eGooglePlayGamesInit, s3eGooglePlayGamesTerminate, 0);
}
void s3eAppsFlyerRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[16];
    funcPtrs[0] = (void*)s3eAppsFlyerRegister;
    funcPtrs[1] = (void*)s3eAppsFlyerUnRegister;
    funcPtrs[2] = (void*)s3eAppsFlyerStartSession;
    funcPtrs[3] = (void*)s3eAppsFlyerSetHTTPS;
    funcPtrs[4] = (void*)s3eAppsFlyerSetTrackingDisable;
    funcPtrs[5] = (void*)s3eAppsFlyerSetIsDebug;
    funcPtrs[6] = (void*)s3eAppsFlyerSetCurrencyCode;
    funcPtrs[7] = (void*)s3eAppsFlyerSetCustomerUserID;
    funcPtrs[8] = (void*)s3eAppsFlyerTrackEvent;
    funcPtrs[9] = (void*)getAppsFlyerUID;
    funcPtrs[10] = (void*)s3eAppsFlyerLoadConversionData;
    funcPtrs[11] = (void*)s3eAppsFlyerSetCollectIMEI;
    funcPtrs[12] = (void*)s3eAppsFlyerSetCollectAndroidID;
    funcPtrs[13] = (void*)s3eAppsFlyerSetCollectMACAddress;
    funcPtrs[14] = (void*)s3eAppsFlyerDisableIAdTracking;
    funcPtrs[15] = (void*)s3eAppsFlyerDisableAppleAdSupportTracking;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[16] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eAppsFlyer", funcPtrs, sizeof(funcPtrs), flags, s3eAppsFlyerInit, s3eAppsFlyerTerminate, 0);
}
Пример #6
0
void s3eFlurryRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[15];
    funcPtrs[0] = (void*)s3eFlurryStart;
    funcPtrs[1] = (void*)s3eFlurryLogEvent;
    funcPtrs[2] = (void*)s3eFlurryLogEventWithParameters;
    funcPtrs[3] = (void*)s3eFlurryEndTimedEvent;
    funcPtrs[4] = (void*)s3eFlurryLogError;
    funcPtrs[5] = (void*)s3eFlurrySetUserID;
    funcPtrs[6] = (void*)s3eFlurrySetUserAge;
    funcPtrs[7] = (void*)s3eFlurrySetUserGender;
    funcPtrs[8] = (void*)s3eFlurrySetLocation;
    funcPtrs[9] = (void*)s3eFlurrySetSessionReportOnClose;
    funcPtrs[10] = (void*)s3eFlurrySetSessionReportOnPause;
    funcPtrs[11] = (void*)s3eFlurryAppCircleEnable;
    funcPtrs[12] = (void*)s3eFlurrySetDefaultText;
    funcPtrs[13] = (void*)s3eFlurryShowAdBanner;
    funcPtrs[14] = (void*)s3eFlurryShowOfferWall;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[15] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eFlurry", funcPtrs, sizeof(funcPtrs), flags, s3eFlurryInit, s3eFlurryTerminate, 0);
}
Пример #7
0
void bluetoothRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[18];
    funcPtrs[0] = (void*)init_bluetooth;
    funcPtrs[1] = (void*)enable_bluetooth;
    funcPtrs[2] = (void*)disable_bluetooth;
    funcPtrs[3] = (void*)is_bluetooth_enabled;
    funcPtrs[4] = (void*)bluetooth_close;
    funcPtrs[5] = (void*)bluetooth_enable_discoverability;
    funcPtrs[6] = (void*)bluetooth_is_discovering;
    funcPtrs[7] = (void*)bluetooth_setup_client;
    funcPtrs[8] = (void*)is_bluetooth_connected;
    funcPtrs[9] = (void*)bluetooth_message_start;
    funcPtrs[10] = (void*)bluetooth_message_write_float;
    funcPtrs[11] = (void*)bluetooth_message_write_int;
    funcPtrs[12] = (void*)bluetooth_message_send_current;
    funcPtrs[13] = (void*)is_bluetooth_message;
    funcPtrs[14] = (void*)bluetooth_message_read_int;
    funcPtrs[15] = (void*)bluetooth_message_read_float;
    funcPtrs[16] = (void*)bluetooth_message_discard_current;
    funcPtrs[17] = (void*)bluetooth_show_wrong_version_dialog;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[18] = { 0 };

    /*
     * Register the extension
     */
s3eEdkRegister("bluetooth", funcPtrs, sizeof(funcPtrs), flags, bluetoothInit, bluetoothTerminate, 0);
}
void ODKRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[17];
    funcPtrs[0] = (void*)OuyaPlugin_getAxis;
    funcPtrs[1] = (void*)OuyaPlugin_isPressed;
    funcPtrs[2] = (void*)OuyaPlugin_isPressedDown;
    funcPtrs[3] = (void*)OuyaPlugin_isPressedUp;
    funcPtrs[4] = (void*)OuyaPlugin_clearButtonStates;
    funcPtrs[5] = (void*)OuyaPlugin_getDeviceName;
    funcPtrs[6] = (void*)OuyaPlugin_initOuyaPlugin;
    funcPtrs[7] = (void*)OuyaPlugin_asyncOuyaRequestGamerInfo;
    funcPtrs[8] = (void*)OuyaPlugin_asyncOuyaRequestProducts;
    funcPtrs[9] = (void*)OuyaPlugin_asyncOuyaRequestPurchase;
    funcPtrs[10] = (void*)OuyaPlugin_asyncOuyaRequestReceipts;
    funcPtrs[11] = (void*)OuyaPlugin_JSONObject_Construct;
    funcPtrs[12] = (void*)OuyaPlugin_JSONObject_Put;
    funcPtrs[13] = (void*)OuyaPlugin_JSONObject_ToString;
    funcPtrs[14] = (void*)OuyaPlugin_JSONArray_Construct;
    funcPtrs[15] = (void*)OuyaPlugin_JSONArray_Put;
    funcPtrs[16] = (void*)OuyaPlugin_JSONArray_ToString;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[17] = { 0 };

    /*
     * Register the extension
     */
s3eEdkRegister("ODK", funcPtrs, sizeof(funcPtrs), flags, ODKInit, ODKTerminate, 0);
}
Пример #9
0
void s3eMapViewRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[12];
    funcPtrs[0] = (void*)s3eMapViewRegister;
    funcPtrs[1] = (void*)s3eMapViewUnRegister;
    funcPtrs[2] = (void*)s3eMapViewCreate;
    funcPtrs[3] = (void*)s3eMapViewDestroy;
    funcPtrs[4] = (void*)s3eMapViewSetScreenRect;
    funcPtrs[5] = (void*)s3eMapViewSetVisible;
    funcPtrs[6] = (void*)s3eMapViewSetType;
    funcPtrs[7] = (void*)s3eMapViewSetShowUserLocation;
    funcPtrs[8] = (void*)_s3eMapViewGoTo;
    funcPtrs[9] = (void*)_s3eMapViewAddPOI;
    funcPtrs[10] = (void*)s3eMapViewRemovePOI;
    funcPtrs[11] = (void*)s3eMapViewGetPlatformLicensingString;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[12] = { 0 };

    /*
     * Register the extension
     */
s3eEdkRegister("s3eMapView", funcPtrs, sizeof(funcPtrs), flags, s3eMapViewInit, s3eMapViewTerminate, 0);
}
Пример #10
0
void s3eMATSDKRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[34];
    funcPtrs[0] = (void*)MATStartMobileAppTracker;
    funcPtrs[1] = (void*)MATTrackInstall;
    funcPtrs[2] = (void*)MATTrackUpdate;
    funcPtrs[3] = (void*)MATTrackInstallWithReferenceId;
    funcPtrs[4] = (void*)MATTrackActionForEventIdOrName;
    funcPtrs[5] = (void*)MATTrackActionForEventIdOrNameItems;
    funcPtrs[6] = (void*)MATTrackAction;
    funcPtrs[7] = (void*)MATSetPackageName;
    funcPtrs[8] = (void*)MATSetCurrencyCode;
    funcPtrs[9] = (void*)MATSetOpenUDID;
    funcPtrs[10] = (void*)MATSetUIID;
    funcPtrs[11] = (void*)MATSetUserId;
    funcPtrs[12] = (void*)MATSetRevenue;
    funcPtrs[13] = (void*)MATSetSiteId;
    funcPtrs[14] = (void*)MATSetTRUSTeId;
    funcPtrs[15] = (void*)MATSetAppAdTracking;
    funcPtrs[16] = (void*)MATSetDelegate;
    funcPtrs[17] = (void*)MATSetJailbroken;
    funcPtrs[18] = (void*)MATSetShouldAutoDetectJailbroken;
    funcPtrs[19] = (void*)MATSetMACAddress;
    funcPtrs[20] = (void*)MATSetODIN1;
    funcPtrs[21] = (void*)MATSetUseCookieTracking;
    funcPtrs[22] = (void*)MATSetAge;
    funcPtrs[23] = (void*)MATSetGender;
    funcPtrs[24] = (void*)MATSetLocation;
    funcPtrs[25] = (void*)MATStartAppToAppTracking;
    funcPtrs[26] = (void*)MATSetRedirectUrl;
    funcPtrs[27] = (void*)MATSetAppleAdvertisingIdentifier;
    funcPtrs[28] = (void*)MATSetAppleVendorIdentifier;
    funcPtrs[29] = (void*)MATSetShouldAutoGenerateAppleVendorIdentifier;
    funcPtrs[30] = (void*)MATSetShouldAutoGenerateAppleAdvertisingIdentifier;
    funcPtrs[31] = (void*)MATSDKParameters;
    funcPtrs[32] = (void*)MATSetDebugMode;
    funcPtrs[33] = (void*)MATSetAllowDuplicates;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[34] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eMATSDK", funcPtrs, sizeof(funcPtrs), flags, s3eMATSDKInit, s3eMATSDKTerminate, 0);
}
Пример #11
0
void s3ePixelDensityRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[1];
    funcPtrs[0] = (void*)s3ePixelDensityGetPPI;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[1] = { 0 };

    /*
     * Register the extension
     */
s3eEdkRegister("s3ePixelDensity", funcPtrs, sizeof(funcPtrs), flags, s3ePixelDensityInit, s3ePixelDensityTerminate, 0);
}
void startappRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[1];
    funcPtrs[0] = (void*)initSDK;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[1] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("startapp", funcPtrs, sizeof(funcPtrs), flags, startappInit, startappTerminate, 0);
}
void s3eFacebookTrackingRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[1];
    funcPtrs[0] = (void*)s3eFBAppEventsActivateApp;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[1] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eFacebookTracking", funcPtrs, sizeof(funcPtrs), flags, s3eFacebookTrackingInit, s3eFacebookTrackingTerminate, 0);
}
void s3eAndroidAppiraterRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[2];
    funcPtrs[0] = (void*)AppiraterInit;
    funcPtrs[1] = (void*)AppiraterEventOccured;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[2] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eAndroidAppirater", funcPtrs, sizeof(funcPtrs), flags, s3eAndroidAppiraterInit, s3eAndroidAppiraterTerminate, 0);
}
Пример #15
0
void rooAudioRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[3];
    funcPtrs[0] = (void*)rooAudio_init;
    funcPtrs[1] = (void*)rooAudio_play;
    funcPtrs[2] = (void*)rooAudio_stop;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[3] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("rooAudio", funcPtrs, sizeof(funcPtrs), flags, rooAudioInit, rooAudioTerminate, 0);
}
Пример #16
0
void s3eGPUImageRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[4];
    funcPtrs[0] = (void*)s3eGPUImageGetContext;
    funcPtrs[1] = (void*)s3eGPUImageTake;
    funcPtrs[2] = (void*)s3eMyGLGenTextures;
    funcPtrs[3] = (void*)s3eRegisterGlGenTexturesCB;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[4] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eGPUImage", funcPtrs, sizeof(funcPtrs), flags, s3eGPUImageInit, s3eGPUImageTerminate, 0);
}
Пример #17
0
void CGPollfishRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[5];
    funcPtrs[0] = (void*)CGPollfishRegister;
    funcPtrs[1] = (void*)CGPollfishUnRegister;
    funcPtrs[2] = (void*)PollFishInit;
    funcPtrs[3] = (void*)PollFishHide;
    funcPtrs[4] = (void*)PollFishShow;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[5] = { 0 };

    /*
     * Register the extension
     */
s3eEdkRegister("CGPollfish", funcPtrs, sizeof(funcPtrs), flags, CGPollfishInit, CGPollfishTerminate, 0);
}
void s3eOneSignalRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[26];
    funcPtrs[0] = (void*)GameThriveInitialize;
    funcPtrs[1] = (void*)GameThriveSendTag;
    funcPtrs[2] = (void*)GameThriveGetTags;
    funcPtrs[3] = (void*)GameThriveDeleteTag;
    funcPtrs[4] = (void*)GameThriveSendPurchase;
    funcPtrs[5] = (void*)GameThriveGetIdsAvailable;
    funcPtrs[6] = (void*)GameThriveSystemPaused;
    funcPtrs[7] = (void*)GameThriveSystemResume;
    funcPtrs[8] = (void*)GameThriveRegisterForPushNotifications;
    funcPtrs[9] = (void*)GameThriveEnableVibrate;
    funcPtrs[10] = (void*)GameThriveEnableSound;
    funcPtrs[11] = (void*)OneSignalInitialize;
    funcPtrs[12] = (void*)OneSignalSendTag;
    funcPtrs[13] = (void*)OneSignalGetTags;
    funcPtrs[14] = (void*)OneSignalDeleteTag;
    funcPtrs[15] = (void*)OneSignalSendPurchase;
    funcPtrs[16] = (void*)OneSignalGetIdsAvailable;
    funcPtrs[17] = (void*)OneSignalSystemPaused;
    funcPtrs[18] = (void*)OneSignalSystemResume;
    funcPtrs[19] = (void*)OneSignalRegisterForPushNotifications;
    funcPtrs[20] = (void*)OneSignalEnableVibrate;
    funcPtrs[21] = (void*)OneSignalEnableSound;
    funcPtrs[22] = (void*)OneSignalEnableInAppAlertNotification;
    funcPtrs[23] = (void*)OneSignalEnableNotificationsWhenActive;
    funcPtrs[24] = (void*)OneSignalSetSubscription;
    funcPtrs[25] = (void*)OneSignalPostNotification;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[26] = { 0 };

    /*
     * Register the extension
     */
s3eEdkRegister("s3eOneSignal", funcPtrs, sizeof(funcPtrs), flags, s3eOneSignalInit, s3eOneSignalTerminate, 0);
}
Пример #19
0
void s3eAdWhirlRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[6];
    funcPtrs[0] = (void*)s3eAdWhirlRegister;
    funcPtrs[1] = (void*)s3eAdWhirlUnRegister;
    funcPtrs[2] = (void*)s3eAdWhirlStart;
    funcPtrs[3] = (void*)s3eAdWhirlRequestFreshAd;
    funcPtrs[4] = (void*)s3eAdWhirlShow;
    funcPtrs[5] = (void*)s3eAdWhirlHide;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[6] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eAdWhirl", funcPtrs, sizeof(funcPtrs), flags, s3eAdWhirlInit, s3eAdWhirlTerminate, 0);
}
Пример #20
0
void TapjoyRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[6];
    funcPtrs[0] = (void*)tapjoy_init;
    funcPtrs[1] = (void*)tapjoy_on_pause;
    funcPtrs[2] = (void*)tapjoy_show_offers;
    funcPtrs[3] = (void*)tapjoy_show_fullscreen_ad;
    funcPtrs[4] = (void*)tapjoy_get_tap_points;
    funcPtrs[5] = (void*)tapjoy_update_tap_points;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[6] = { 0 };

    /*
     * Register the extension
     */
s3eEdkRegister("Tapjoy", funcPtrs, sizeof(funcPtrs), flags, TapjoyInit, TapjoyTerminate, 0);
}
void s3eTapjoyRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[23];
    funcPtrs[0] = (void*)s3eTapjoyRegister;
    funcPtrs[1] = (void*)s3eTapjoyUnRegister;
    funcPtrs[2] = (void*)s3eTapjoyGetErrorString;
    funcPtrs[3] = (void*)s3eTapjoyGetError;
    funcPtrs[4] = (void*)TapjoyRequestConnect;
    funcPtrs[5] = (void*)TapjoyActionComplete;
    funcPtrs[6] = (void*)TapjoySetUserID;
    funcPtrs[7] = (void*)TapjoyShowOffers;
    funcPtrs[8] = (void*)TapjoyShowOffersWithCurrenyID;
    funcPtrs[9] = (void*)TapjoyGetTapPoints;
    funcPtrs[10] = (void*)TapjoySpendTapPoints;
    funcPtrs[11] = (void*)TapjoyAwardTapPoints;
    funcPtrs[12] = (void*)TapjoyShowVirtualGoods;
    funcPtrs[13] = (void*)TapjoyGetPurchasedItem;
    funcPtrs[14] = (void*)TapjoyGetAvailableItem;
    funcPtrs[15] = (void*)TapjoyGetFeaturedApp;
    funcPtrs[16] = (void*)TapjoyShowFeaturedAppFullScreenAd;
    funcPtrs[17] = (void*)TapjoySetFeaturedAppDisplayCount;
    funcPtrs[18] = (void*)TapjoySetTransitionEffect;
    funcPtrs[19] = (void*)TapjoySetOffersNavBarImage;
    funcPtrs[20] = (void*)TapjoySetUserDefinedColor;
    funcPtrs[21] = (void*)TapjoyGetDisplayAd;
    funcPtrs[22] = (void*)TapjoySetDisplayAdView;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[23] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eTapjoy", funcPtrs, sizeof(funcPtrs), flags, s3eTapjoyInit, s3eTapjoyTerminate, 0);
}
Пример #22
0
void s3eAdColonyRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[8];
    funcPtrs[0] = (void*)s3eAdColonyRegister;
    funcPtrs[1] = (void*)s3eAdColonyUnRegister;
    funcPtrs[2] = (void*)s3eAdColonyStart;
    funcPtrs[3] = (void*)s3ePlayVideoAdForSlot;
    funcPtrs[4] = (void*)s3ePlayVideoAdForZone;
    funcPtrs[5] = (void*)s3ePlayV4VCForSlot;
    funcPtrs[6] = (void*)s3ePlayV4VCForZone;
    funcPtrs[7] = (void*)s3eVideoAdCurrentlyRunning;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[8] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eAdColony", funcPtrs, sizeof(funcPtrs), flags, s3eAdColonyInit, s3eAdColonyTerminate, 0);
}
void s3eAndroidGooglePlayBillingRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[9];
    funcPtrs[0] = (void*)s3eAndroidGooglePlayBillingRegister;
    funcPtrs[1] = (void*)s3eAndroidGooglePlayBillingUnRegister;
    funcPtrs[2] = (void*)s3eAndroidGooglePlayBillingStart;
    funcPtrs[3] = (void*)s3eAndroidGooglePlayBillingStop;
    funcPtrs[4] = (void*)s3eAndroidGooglePlayBillingIsSupported;
    funcPtrs[5] = (void*)s3eAndroidGooglePlayBillingRequestPurchase;
    funcPtrs[6] = (void*)s3eAndroidGooglePlayBillingRequestProductInformation;
    funcPtrs[7] = (void*)s3eAndroidGooglePlayBillingRestoreTransactions;
    funcPtrs[8] = (void*)s3eAndroidGooglePlayBillingConsumeItem;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[9] = { 0 };

    /*
     * Register the extension
     */
    s3eEdkRegister("s3eAndroidGooglePlayBilling", funcPtrs, sizeof(funcPtrs), flags, s3eAndroidGooglePlayBillingInit, s3eAndroidGooglePlayBillingTerminate, 0);
}
void soundpoolRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[9];
    funcPtrs[0] = (void*)sound_pool__init;
    funcPtrs[1] = (void*)sound_pool__load;
    funcPtrs[2] = (void*)sound_pool__play;
    funcPtrs[3] = (void*)sound_pool__pause;
    funcPtrs[4] = (void*)sound_pool__resume;
    funcPtrs[5] = (void*)sound_pool__set_looping;
    funcPtrs[6] = (void*)sound_pool__stop;
    funcPtrs[7] = (void*)sound_pool__unload;
    funcPtrs[8] = (void*)sound_pool__release;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[9] = { 0 };

    /*
     * Register the extension
     */
s3eEdkRegister("soundpool", funcPtrs, sizeof(funcPtrs), flags, soundpoolInit, soundpoolTerminate, 0);
}
void s3eMATSDKRegisterExt()
{
    /* fill in the function pointer struct for this extension */
    void* funcPtrs[53];
    funcPtrs[0] = (void*)MATStartMobileAppTracker;
    funcPtrs[1] = (void*)MATCheckForDeferredDeeplink;
    funcPtrs[2] = (void*)MATMeasureSession;
    funcPtrs[3] = (void*)MATMeasureAction;
    funcPtrs[4] = (void*)MATMeasureActionWithReferenceId;
    funcPtrs[5] = (void*)MATMeasureActionWithRevenue;
    funcPtrs[6] = (void*)MATMeasureActionWithItems;
    funcPtrs[7] = (void*)MATSetPackageName;
    funcPtrs[8] = (void*)MATSetCurrencyCode;
    funcPtrs[9] = (void*)MATSetUserEmail;
    funcPtrs[10] = (void*)MATSetUserId;
    funcPtrs[11] = (void*)MATSetUserName;
    funcPtrs[12] = (void*)MATSetFacebookUserId;
    funcPtrs[13] = (void*)MATSetTwitterUserId;
    funcPtrs[14] = (void*)MATSetGoogleUserId;
    funcPtrs[15] = (void*)MATSetGoogleAdvertisingId;
    funcPtrs[16] = (void*)MATSetSiteId;
    funcPtrs[17] = (void*)MATSetTRUSTeId;
    funcPtrs[18] = (void*)MATSetAppAdTracking;
    funcPtrs[19] = (void*)MATSetDelegate;
    funcPtrs[20] = (void*)MATSetEventAttribute1;
    funcPtrs[21] = (void*)MATSetEventAttribute2;
    funcPtrs[22] = (void*)MATSetEventAttribute3;
    funcPtrs[23] = (void*)MATSetEventAttribute4;
    funcPtrs[24] = (void*)MATSetEventAttribute5;
    funcPtrs[25] = (void*)MATSetEventContentType;
    funcPtrs[26] = (void*)MATSetEventContentId;
    funcPtrs[27] = (void*)MATSetEventLevel;
    funcPtrs[28] = (void*)MATSetEventQuantity;
    funcPtrs[29] = (void*)MATSetEventSearchString;
    funcPtrs[30] = (void*)MATSetEventRating;
    funcPtrs[31] = (void*)MATSetEventDate1;
    funcPtrs[32] = (void*)MATSetEventDate2;
    funcPtrs[33] = (void*)MATSetExistingUser;
    funcPtrs[34] = (void*)MATSetFacebookEventLogging;
    funcPtrs[35] = (void*)MATSetPayingUser;
    funcPtrs[36] = (void*)MATSetJailbroken;
    funcPtrs[37] = (void*)MATSetShouldAutoDetectJailbroken;
    funcPtrs[38] = (void*)MATSetUseCookieTracking;
    funcPtrs[39] = (void*)MATSetAge;
    funcPtrs[40] = (void*)MATSetGender;
    funcPtrs[41] = (void*)MATSetLocation;
    funcPtrs[42] = (void*)MATSetLocationWithAltitude;
    funcPtrs[43] = (void*)MATGetIsPayingUser;
    funcPtrs[44] = (void*)MATGetMatId;
    funcPtrs[45] = (void*)MATGetOpenLogId;
    funcPtrs[46] = (void*)MATStartAppToAppTracking;
    funcPtrs[47] = (void*)MATSetRedirectUrl;
    funcPtrs[48] = (void*)MATSetAppleAdvertisingIdentifier;
    funcPtrs[49] = (void*)MATSetAppleVendorIdentifier;
    funcPtrs[50] = (void*)MATSetShouldAutoGenerateAppleVendorIdentifier;
    funcPtrs[51] = (void*)MATSetDebugMode;
    funcPtrs[52] = (void*)MATSetAllowDuplicates;

    /*
     * Flags that specify the extension's use of locking and stackswitching
     */
    int flags[53] = { 0 };

    /*
     * Register the extension
     */
s3eEdkRegister("s3eMATSDK", funcPtrs, sizeof(funcPtrs), flags, s3eMATSDKInit, s3eMATSDKTerminate, 0);
}