Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/ViewerDevice.h @ 784:d5065fef0f6d
merge
author | yutaka@localhost.localdomain |
---|---|
date | Tue, 20 Apr 2010 15:40:07 +0900 |
parents | 4f77768d7a7f |
children | bed529c55eda |
line wrap: on
line source
#ifndef INCLUDED_VIEWER_DEV #define INCLUDED_VIEWER_DEV #include "TaskManager.h" #include "SDL.h" class ViewerDevice { public: ViewerDevice(); virtual ~ViewerDevice(); ViewerDevice(TaskManager *m) {}; /* override function */ virtual Uint32 *video_init(TaskManager *manager, int bpp, int width, int height) = 0; virtual void clean_pixels() = 0; virtual void clear_screen() = 0; virtual void free_device() = 0; }; #endif