diff options
Diffstat (limited to 'drape_head/testing_engine.hpp')
-rw-r--r-- | drape_head/testing_engine.hpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/drape_head/testing_engine.hpp b/drape_head/testing_engine.hpp index fa06db5dd7..fb8c175dce 100644 --- a/drape_head/testing_engine.hpp +++ b/drape_head/testing_engine.hpp @@ -12,28 +12,18 @@ #include "std/map.hpp" -#include <QObject> -#include <QEvent> - namespace df { -class TestingEngine : public QObject +class TestingEngine { public: - TestingEngine(ref_ptr<dp::OGLContextFactory> oglcontextfactory, - Viewport const & viewport, - double vs); + TestingEngine(Viewport const & viewport, double vs); ~TestingEngine(); void Draw(); void Resize(int w, int h); -protected: - void timerEvent(QTimerEvent * e); - - int m_timerId; - private: void DrawImpl(); void DrawRects(); @@ -43,7 +33,6 @@ private: void ClearScene(); private: - ref_ptr<dp::OGLContextFactory> m_contextFactory; drape_ptr<dp::Batcher> m_batcher; drape_ptr<dp::GpuProgramManager> m_programManager; drape_ptr<dp::TextureManager> m_textures; |