#ifndef LLMR_PLATFORM_IOS #define LLMR_PLATFORM_IOS #include #include #include namespace llmr { class Tile; namespace platform { // Restarts painting. This could for example trigger the event loop of the // controlling application. void restart(void *obj); struct Response { int16_t code = -1; std::string body; }; void request_http(std::string url, std::function func); void request_http(std::string url, std::function func, std::function cb); void async(std::function fn, std::function cb); // Returns a relative timestamp in seconds. This value must be monotonic. double time(); } } #endif