| 5217 | } |
| 5218 | |
| 5219 | static bool ViewLinkImpl(const char *pLink) |
| 5220 | { |
| 5221 | #if defined(CONF_PLATFORM_ANDROID) |
| 5222 | if(SDL_OpenURL(pLink) == 0) |
| 5223 | { |
| 5224 | return true; |
| 5225 | } |
| 5226 | log_error("client", "Failed to open link '%s' (%s)", pLink, SDL_GetError()); |
| 5227 | return false; |
| 5228 | #else |
| 5229 | if(os_open_link(pLink)) |
| 5230 | { |
| 5231 | return true; |
| 5232 | } |
| 5233 | log_error("client", "Failed to open link '%s'", pLink); |
| 5234 | return false; |
| 5235 | #endif |
| 5236 | } |
| 5237 | |
| 5238 | bool CClient::ViewLink(const char *pLink) |
| 5239 | { |
no test coverage detected