diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-11-17 19:49:53 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:28:16 +0300 |
commit | 5c614297c02c7997bbfb5b51f70b0c421b7a3889 (patch) | |
tree | 4b2caac1b4a0234ddba6b2ed9550e2b417e94463 /iphone/Maps/Classes/EAGLView.h | |
parent | 036b072800e8c13f15d5c3c4c317a8c3265defec (diff) |
Made Framework non-template
Diffstat (limited to 'iphone/Maps/Classes/EAGLView.h')
-rw-r--r-- | iphone/Maps/Classes/EAGLView.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/iphone/Maps/Classes/EAGLView.h b/iphone/Maps/Classes/EAGLView.h index 72fef24cd1..b58cb12e0b 100644 --- a/iphone/Maps/Classes/EAGLView.h +++ b/iphone/Maps/Classes/EAGLView.h @@ -4,9 +4,9 @@ #import "MapViewController.h" #include "../../std/shared_ptr.hpp" -#include "../../map/framework.hpp" -#include "../../map/feature_vec_model.hpp" -#include"RenderBuffer.hpp" +#include "RenderBuffer.hpp" + +class Framework; namespace iphone { @@ -22,8 +22,6 @@ namespace yg } } -typedef Framework<model::FeaturesFetcher> framework_t; - // This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass. // The view content is basically an EAGL surface you render your OpenGL scene into. // Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel. @@ -31,7 +29,7 @@ typedef Framework<model::FeaturesFetcher> framework_t; { @public - framework_t * framework; + Framework * framework; VideoTimer * videoTimer; shared_ptr<iphone::RenderContext> renderContext; shared_ptr<yg::gl::FrameBuffer> frameBuffer; @@ -41,7 +39,7 @@ typedef Framework<model::FeaturesFetcher> framework_t; - (void) initRenderPolicy; -@property (nonatomic, assign) framework_t * framework; +@property (nonatomic, assign) Framework * framework; @property (nonatomic, assign) VideoTimer * videoTimer; @property (nonatomic, assign) shared_ptr<iphone::RenderContext> renderContext; @property (nonatomic, assign) shared_ptr<iphone::RenderBuffer> renderBuffer; |