Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

generic_surfaceprovider.h

Go to the documentation of this file.
00001 #ifndef header_surfaceprovider_generic
00002 #define header_surfaceprovider_generic
00003 
00004 #include "../Display/surfaceprovider.h"
00005 #include "../Display/surface.h"
00006 
00008 
00009 class CL_SurfaceProvider_Generic : public CL_SurfaceProvider
00010 //: Reference counting lock/unlock surface provider.
00011 {
00012 public:
00013         CL_SurfaceProvider_Generic();
00014         virtual ~CL_SurfaceProvider_Generic() { ; }
00015 
00016         virtual void lock();
00017         virtual void unlock();
00018 
00019 protected:
00020         virtual void perform_lock()=0;
00021         virtual void perform_unlock()=0;
00022 
00023 private:
00024         int ref_count;
00025 };
00026 
00027 #endif

Generated at Wed Apr 4 19:54:00 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001