From 8e0157820747506d192d75f516e92c9f28524c45 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Wed, 28 Dec 2011 16:13:14 +0300 Subject: [ios][mac] Added implementations for Platform::RunOnGuiThread and Platform::RunAsync @see #486 --- platform/platform_linux.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'platform/platform_linux.cpp') diff --git a/platform/platform_linux.cpp b/platform/platform_linux.cpp index 54f21a49a9..9cfebaa4b5 100644 --- a/platform/platform_linux.cpp +++ b/platform/platform_linux.cpp @@ -68,3 +68,15 @@ string Platform::UniqueClientId() const { return "@TODO"; } + +void Platform::RunOnGuiThread(TFunctor const & fn) +{ + // @TODO + fn(); +} + +void Platform::RunAsync(TFunctor const & fn, Priority p) +{ + // @TODO + fn(); +} -- cgit v1.2.3