From 24c55759e8a77726a5592cc0fc057628793ccefc Mon Sep 17 00:00:00 2001 From: ExMix Date: Wed, 20 Nov 2013 12:01:55 +0300 Subject: [PATCH] [drape] some stuff --- drape_frontend/engine_context.hpp | 14 +++++++++++++- drape_frontend/render_thread.hpp | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drape_frontend/engine_context.hpp b/drape_frontend/engine_context.hpp index 429d8f4591..4c10ef46e4 100644 --- a/drape_frontend/engine_context.hpp +++ b/drape_frontend/engine_context.hpp @@ -1,11 +1,23 @@ #pragma once +#include "tile_info.hpp" + namespace df { + class MapShape + { + public: + virtual ~MapShape(){} + virtual void Draw() const = 0; + }; + class EngineContext { public: EngineContext(); - /// TODO котяра обещал описать данный интерфейс + + /// If you call this method, you may forget about shape. + /// It will be proccessed and delete later + void InsertShape(df::TileKey const & key, MapShape * shape) {} }; } diff --git a/drape_frontend/render_thread.hpp b/drape_frontend/render_thread.hpp index 38dbca5b67..50f2021734 100644 --- a/drape_frontend/render_thread.hpp +++ b/drape_frontend/render_thread.hpp @@ -2,5 +2,5 @@ namespace df { - void InitRenderThread(); + void InitRenderThread() {} }