00001
00002 #ifndef __image_context_hpp__
00003 #define __image_context_hpp__
00004
00005 #include <crbn/basic/basic.h>
00006 #include <crbn/basic/paramlist.hpp>
00007
00008 #include <crbn/image/image.hpp>
00009
00010 #include "icache.hpp"
00011 #include "icreator.hpp"
00012
00013 class ImageContext
00014 {
00015 public:
00016
00017
00018 ImageContext();
00019
00020
00021 ~ImageContext();
00022
00023
00024 uint32 memory();
00025
00026
00027 uint32 create( char* filename );
00028
00029
00030 Image* get( uint32 index );
00031
00032 private:
00033 iCache icache;
00034 iCreator icreator;
00035 };
00036
00037 #endif // __image_context_hpp__