00001 #ifndef HEADER_SURFACELOCK_H 00002 #define HEADER_SURFACELOCK_H 00003 00004 #include "NoCopy.h" 00005 00006 #include "SDL.h" 00007 00008 /** 00009 * Lock and unlock surface. 00010 */ 00011 class SurfaceLock : public NoCopy { 00012 private: 00013 SDL_Surface *m_surface; 00014 public: 00015 SurfaceLock(SDL_Surface *surface); 00016 virtual ~SurfaceLock(); 00017 }; 00018 00019 #endif