home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / Blitting Class Library / Secure Macintosh Ports / SecureMacPort.h < prev    next >
Encoding:
Text File  |  1995-10-20  |  599 b   |  22 lines  |  [TEXT/CWIE]

  1. // SecureMacPort.h, the SecureMacPort abstract class, useful for generating windows
  2. //    and GWorlds for those who do not use a framework that makes these for them.
  3.  
  4. // copyright © 1995, Macneil Shonle. All rights reserved.
  5.  
  6. #ifndef __SECUREMACPORT__
  7. #define __SECUREMACPORT__
  8.  
  9.         // class SecureMacPort
  10. class SecureMacPort {
  11. public:
  12.     virtual ~SecureMacPort() {}
  13.     
  14.     virtual Rect& portRect() const = 0;
  15.     virtual BitMapPtr bitMap() const = 0;
  16.     virtual short width() const = 0;
  17.     virtual short height() const = 0;
  18.     virtual CGrafPtr getMacPort() const = 0;
  19.     virtual GDHandle getMacGD() const = 0;
  20. };
  21.  
  22. #endif