From 66a2c994ac66d937aa7e5f5674f772ca9db551a2 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Wed, 19 Feb 2014 17:23:22 -0800 Subject: [PATCH] clean up platform comments --- include/llmr/platform/platform.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llmr/platform/platform.hpp b/include/llmr/platform/platform.hpp index 4aa2fb571..41144fa63 100644 --- a/include/llmr/platform/platform.hpp +++ b/include/llmr/platform/platform.hpp @@ -14,8 +14,7 @@ class Tile; namespace platform { -// Restarts painting. This could for example trigger the event loop of the -// controlling application. +// Restarts painting. This could for example trigger the event loop of the controlling application. void restart(void *obj); struct Response { @@ -23,6 +22,7 @@ struct Response { std::string body; }; +// Makes an HTTP request of a URL on a background thread, calls a function with the results on the same thread, and finally calls a callback function on the main thread. void request_http(std::string url, std::function background_function, std::function foreground_callback); // Returns a relative timestamp in seconds. This value must be monotonic.