Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorExMix <rahuba.youri@mapswithme.com>2015-04-16 01:32:14 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:04:16 +0300
commit3d6c6713caf949fcfcbca83de8cf0d990cc75f83 (patch)
tree514b9db5197d1ba6a8d04d52712860a40e8aac53 /drape_frontend/base_renderer.hpp
parentda9d55a40842a6be933f63cfe3b0fafffa260e4b (diff)
rebase fixes
Diffstat (limited to 'drape_frontend/base_renderer.hpp')
-rw-r--r--drape_frontend/base_renderer.hpp24
1 files changed, 13 insertions, 11 deletions
diff --git a/drape_frontend/base_renderer.hpp b/drape_frontend/base_renderer.hpp
index 59f0771735..b7696b862d 100644
--- a/drape_frontend/base_renderer.hpp
+++ b/drape_frontend/base_renderer.hpp
@@ -1,22 +1,22 @@
#pragma once
-#include "message_acceptor.hpp"
-#include "threads_commutator.hpp"
-#include "tile_utils.hpp"
+#include "drape_frontend/message_acceptor.hpp"
+#include "drape_frontend/threads_commutator.hpp"
+#include "drape_frontend/tile_utils.hpp"
-#include "../drape/oglcontextfactory.hpp"
-#include "../base/thread.hpp"
+#include "drape/oglcontextfactory.hpp"
-#include "../std/atomic.hpp"
-#include "../std/condition_variable.hpp"
-#include "../std/function.hpp"
-#include "../std/mutex.hpp"
+#include "base/thread.hpp"
+
+#include "std/atomic.hpp"
+#include "std/condition_variable.hpp"
+#include "std/function.hpp"
+#include "std/mutex.hpp"
namespace df
{
-class BaseRenderer : public MessageAcceptor,
- public threads::IRoutine
+class BaseRenderer : public MessageAcceptor
{
public:
using TCompletionHandler = function<void()>;
@@ -37,6 +37,8 @@ protected:
void CheckRenderingEnabled();
void ProcessStopRenderingMessage();
+ virtual unique_ptr<threads::IRoutine> CreateRoutine() = 0;
+
private:
bool CanReceiveMessage() override;