Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/ViewerDevice.h @ 751:8b45afad160f
add task/DataLoad task/DataUpdate
author | hiroki |
---|---|
date | Mon, 25 Jan 2010 19:25:40 +0900 |
parents | 62d94ad0cef3 |
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