-----------------------------------------------------------------------------
| 50 | |
| 51 | //----------------------------------------------------------------------------- |
| 52 | bool 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 | //----------------------------------------------------------------------------- |
| 68 | bool Platform::AlertYesNo(const char *windowTitle, const char *message) |
nothing calls this directly
no test coverage detected