home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iframevt.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  2.6 KB  |  74 lines

  1. #ifndef _IFRAMEVT_
  2. #define _IFRAMEVT_
  3. /*******************************************************************************
  4. * FILE NAME: iframevt.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the declarations of the classes:                        *
  8. *     IFrameEvent                                                              *
  9. *     IFrameFormatEvent                                                        *
  10. *                                                                              *
  11. * COPYRIGHT:                                                                   *
  12. *   IBM Open Class Library                                                     *
  13. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  14. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  15. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  16. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  17. *                                                                              *
  18. *******************************************************************************/
  19. #include <ievent.hpp>
  20.  
  21. class IFrameWindow;
  22. class IRectangle;
  23. class ISWP;
  24.  
  25. #pragma pack(4)
  26.  
  27. class IFrameEvent : public IEvent {
  28. typedef IEvent
  29.   Inherited;
  30. public:
  31. /*------------------------------- Constructors -------------------------------*/
  32.   IFrameEvent ( const IEvent&      baseEvent );
  33.   IFrameEvent ( const IFrameEvent& frameEvent );
  34. IFrameEvent
  35.  &operator=   ( const IFrameEvent& frameEvent );
  36.  
  37.  ~IFrameEvent ( );
  38.  
  39. /*------------------------------- Frame Window -------------------------------*/
  40. IFrameWindow
  41.  *frame ( ) const;
  42.  
  43. private:
  44. /*--------------------------------- Private ----------------------------------*/
  45. IFrameWindow
  46.  *pFrame;
  47. }; // IFrameEvent
  48.  
  49. class IFrameFormatEvent : public IFrameEvent {
  50. typedef IFrameEvent
  51.   Inherited;
  52. public:
  53. /*------------------------------- Constructors -------------------------------*/
  54.   IFrameFormatEvent ( const IEvent&            baseEvent );
  55.   IFrameFormatEvent ( const IFrameFormatEvent& fmtEvent );
  56.  ~IFrameFormatEvent ( );
  57.  
  58. /*-------------------------- Formatting Information --------------------------*/
  59. ISWP
  60.  *swpArray      ( ) const;
  61.  
  62. IRectangle
  63.   clientRect    ( ) const;
  64.  
  65. IFrameFormatEvent
  66.  &setClientRect ( const IRectangle& rectangle );
  67. }; // IFrameFormatEvent
  68.  
  69. #pragma pack()
  70.  
  71.   #include <iframevt.inl>
  72.  
  73. #endif /* _IFRAMEVT_ */
  74.