Mercurial > hg > Members > kono > Cerium
annotate Renderer/Engine/ViewerDevice.h @ 818:19c6cdeb23d6
too few template-parameter-lists
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 May 2010 10:55:25 +0900 |
parents | 4f77768d7a7f |
children | bed529c55eda |
rev | line source |
---|---|
728 | 1 #ifndef INCLUDED_VIEWER_DEV |
2 #define INCLUDED_VIEWER_DEV | |
3 | |
4 #include "TaskManager.h" | |
5 #include "SDL.h" | |
6 | |
7 class ViewerDevice { | |
8 public: | |
9 ViewerDevice(); | |
10 virtual ~ViewerDevice(); | |
11 | |
12 ViewerDevice(TaskManager *m) {}; | |
13 | |
14 /* override function */ | |
15 virtual Uint32 *video_init(TaskManager *manager, int bpp, int width, int height) = 0; | |
16 virtual void clean_pixels() = 0; | |
17 virtual void clear_screen() = 0; | |
18 virtual void free_device() = 0; | |
19 }; | |
20 | |
21 #endif |