diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-11-18 10:59:55 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:32:49 +0300 |
commit | a6dc6dfb2a8d2f155ae8b8b661f0ee7f340aa45a (patch) | |
tree | db074147c978caf146a5962724e369b1ce70d6cc /qt/mainwindow.hpp | |
parent | 9e3bab30ae6a1f87af82a2fdc9502fbaa98a3351 (diff) |
[desktop] conditional (USE_DRAPE) build support
Diffstat (limited to 'qt/mainwindow.hpp')
-rw-r--r-- | qt/mainwindow.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qt/mainwindow.hpp b/qt/mainwindow.hpp index f0cc51e01f..e450f8720d 100644 --- a/qt/mainwindow.hpp +++ b/qt/mainwindow.hpp @@ -20,13 +20,21 @@ namespace search { class Result; } namespace qt { +#ifndef USE_DRAPE class DrawWidget; +#else + class DrapeSurface; +#endif // USE_DRAPE class MainWindow : public QMainWindow, location::LocationObserver { QAction * m_pMyPositionAction; QAction * m_pSearchAction; +#ifndef USE_DRAPE DrawWidget * m_pDrawWidget; +#else + DrapeSurface * m_pDrawWidget; +#endif // USE_DRAPE QDockWidget * m_Docks[1]; |