home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / c / intuitionpp / ipp / wscreen.h < prev   
Encoding:
C/C++ Source or Header  |  1993-04-06  |  1.3 KB  |  47 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. ///////////////////////////////////////////////////////////////////////////////
  3. ///////////////////                                        ////////////////////
  4. ///////////////////           file : wscreen.h             ////////////////////
  5. ///////////////////                                        ////////////////////
  6. ///////////////////////////////////////////////////////////////////////////////
  7. ///////////////////////////////////////////////////////////////////////////////
  8. //
  9. //    Class WScreen :
  10. //
  11. //        - Simple screen and event handling.
  12. //
  13. //        - Inherits 'CScreen' and 'Waiter'.
  14. //
  15. //        - When you link some windows to this type of screen, you can
  16. //        pass control to it and let him manage all your application.
  17. //
  18. //    See 'Waiter.h for further detail.
  19.  
  20.  
  21. #ifndef __WSCREEN__
  22. #define __WSCREEN__
  23.  
  24. #include <ipp/gscreen.h>
  25. #include <ipp/waiter.h>
  26.  
  27.  
  28. class WScreen : public virtual CScreen, public virtual Waiter
  29. {
  30. public:
  31.     WScreen();
  32.     WScreen(struct NewScreen *newscreen);
  33.     WScreen(struct ExtNewScreen *extnewscreen);
  34.     WScreen(struct NewScreen *newscreen, struct TagItem *tags);
  35.     ~WScreen();
  36.  
  37.     virtual BOOL open();
  38.     virtual void close();
  39.  
  40.     virtual BOOL linkwindow(MsgWindow& window);
  41.     virtual MsgWindow * rmwindow(MsgWindow& window);
  42.     virtual void rmwindows();
  43. };
  44.  
  45.  
  46. #endif //__GSCREEN__
  47.