home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / getstart / start2 / start2w.hpp < prev   
Text File  |  1996-10-29  |  829b  |  35 lines

  1. #ifndef _START2W_
  2. #define _START2W_
  3. //*********************************************************
  4. // Getting Started - Simple Program, Version 2
  5. //
  6. // Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  7. // Copyright (c) 1997 John Wiley & Sons, Inc. 
  8. // All Rights Reserved.
  9. //*********************************************************
  10. #include <iframe.hpp>
  11. #include <imle.hpp>
  12. #include "start2ch.hpp"      // For CutCopyPasteHandler.
  13.  
  14. class CodeWindow : public IFrameWindow {
  15. public:
  16.   CodeWindow ( const char* title );
  17. virtual Boolean
  18.   cut   ( ),
  19.   copy  ( ),
  20.   paste ( );
  21.  
  22. private:
  23. // Disallow copy and assignment.
  24.   CodeWindow ( const CodeWindow& );
  25. CodeWindow
  26.  &operator=  ( const CodeWindow& );
  27.  
  28. IMultiLineEdit
  29.   mle;
  30. CutCopyPasteHandler
  31.   cmdHandler;
  32. }; // CodeWindow
  33.  
  34. #endif  // _START2W_
  35.