home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / Blitting Class Library / Buffer Accessors / VideoAccessor.h < prev    next >
Encoding:
Text File  |  1995-10-14  |  608 b   |  26 lines  |  [TEXT/CWIE]

  1. // VideoAccessor.h, the VideoAccessor class, to be used for direct access to
  2. //    video pixel-maps.
  3.  
  4. // copyright © 1995, Macneil Shonle. All rights reserved.
  5.  
  6. #ifndef __VIDEOACCESSOR__
  7. #define __VIDEOACCESSOR__
  8.  
  9. #ifndef __BUFFERACCESSOR__
  10. #include <BufferAccessor.h>
  11. #endif
  12.  
  13.         // class VideoAccessor
  14. class VideoAccessor : public BufferAccessor {
  15. public:
  16.     VideoAccessor(const Rect&) throw(xalloc);
  17.     virtual ~VideoAccessor();
  18.     
  19.     VideoAccessor& operator=(const VideoAccessor&) throw(xalloc);
  20.     VideoAccessor& operator=(const Rect&) throw(xalloc);
  21.  
  22. protected:
  23.     void construct(const Rect&) throw(xalloc);
  24. };
  25.  
  26. #endif