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

  1. #ifndef _IFONTHDR_
  2. #define _IFONTHDR_
  3. /*******************************************************************************
  4. * FILE NAME: ifonthdr.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IFontDialogHandler                                                       *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   IBM Open Class Library                                                     *
  12. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  13. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  14. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  15. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  16. *                                                                              *
  17. *******************************************************************************/
  18. #include <ihandler.hpp>
  19. #include <ievent.hpp>
  20.  
  21. class IFont;
  22. class IFontDialog;
  23. class IFontDialogHandlerData;
  24.  
  25. #pragma pack(4)
  26.  
  27. class IFontDialogHandler : public IHandler {
  28. typedef IHandler
  29.   Inherited;
  30.  
  31. public:
  32. /*------------------------------ Constructors --------------------------------*/
  33.   IFontDialogHandler();
  34. virtual
  35.   ~IFontDialogHandler();
  36.  
  37. protected:
  38. /*---------------------------- Event Dispatching -----------------------------*/
  39. virtual Boolean
  40.   dispatchHandlerEvent(IEvent& event);
  41.  
  42. /*-------------------------- Font Dialog Dismissal ---------------------------*/
  43. virtual Boolean
  44.   modelessResults     (IFontDialog* endingDialog);
  45.  
  46. virtual Boolean
  47.   modelessApply       (IFontDialog* modelessDialog,
  48.                        IFont*       appliedFont );
  49.  
  50. private:
  51. /*--------------------------------- Private ----------------------------------*/
  52. IFontDialogHandlerData
  53.  *fFontDialogHandlerData;
  54. };
  55.  
  56. #pragma pack()
  57.  
  58. #endif /* IFONTHDR */
  59.