layer1.h

Go to the documentation of this file.
00001 #ifndef __OE_APP_LAYER_1_H__
00002 #define __OE_APP_LAYER_1_H__
00003 
00008 struct SDL_Surface;
00009 
00011 class OE_LAYER_1 {
00012 public:
00013     OE_LAYER_2 layer_2;         
00014     OE_SERVICES services;       
00015     uint32 execute(void);       
00016     void exec(void);            
00017 
00018     uint32 init_SDL(void);      
00019     void update_screen(void);   
00020     void init_keymap(void);     
00021 
00022     void test_ll(void);
00023 
00028     template<typename _iterator_t>
00029     void print_ll_range(_iterator_t start, _iterator_t stop)
00030     {
00031         for (_iterator_t i = start; i.is_valid() && i!=stop; i.move_next())
00032             print(i->data); 
00033     }
00034 
00035 private:
00036     uint32 timebase;            
00037     SDL_Surface *SDLscreen;     
00038     uint32 keymap[512];         
00039 };
00040 
00041 #endif

Generated on Sat Sep 9 03:50:43 2006 for Openem APIs by  doxygen 1.4.7