diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-12-28 17:13:14 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:31:02 +0300 |
commit | 8e0157820747506d192d75f516e92c9f28524c45 (patch) | |
tree | c4be52928e0621a00eab9f5b05c296d2254cdd93 /platform/platform_linux.cpp | |
parent | 8bbae498e4ccef10e03ff7738ff70990a6673e96 (diff) |
[ios][mac] Added implementations for Platform::RunOnGuiThread and Platform::RunAsync
@see #486
Diffstat (limited to 'platform/platform_linux.cpp')
-rw-r--r-- | platform/platform_linux.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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(); +} |