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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
728
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
1 #ifndef INCLUDED_VIEWER_DEV
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
2 #define INCLUDED_VIEWER_DEV
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
3
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
4 #include "TaskManager.h"
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
5 #include "SDL.h"
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
6
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
7 class ViewerDevice {
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
8 public:
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
9 ViewerDevice();
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
10 virtual ~ViewerDevice();
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
11
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
12 ViewerDevice(TaskManager *m) {};
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
13
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
14 /* override function */
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
15 virtual Uint32 *video_init(TaskManager *manager, int bpp, int width, int height) = 0;
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
16 virtual void clean_pixels() = 0;
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
17 virtual void clear_screen() = 0;
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
18 virtual void free_device() = 0;
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
19 };
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
20
4f77768d7a7f add Engine/ViewerDevice , SgRootChange not work
aaa
parents:
diff changeset
21 #endif