MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / AlertRetry

Method AlertRetry

engine/source/platformAndroid/AndroidAlerts.cpp:52–65  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

50
51//-----------------------------------------------------------------------------
52bool Platform::AlertRetry(const char *windowTitle, const char *message)
53{//retry/cancel
54
55 android_AlertRetry(windowTitle, message);
56
57 int ret = -1;
58
59 while((ret = android_checkAlert()) == -1)
60 {
61 usleep(32);
62 }
63
64 return (ret == 1) ? true : false;
65}
66
67//-----------------------------------------------------------------------------
68bool Platform::AlertYesNo(const char *windowTitle, const char *message)

Callers

nothing calls this directly

Calls 2

android_AlertRetryFunction · 0.85
android_checkAlertFunction · 0.85

Tested by

no test coverage detected