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

  1. #ifndef _IDMTBRIT_
  2. #define _IDMTBRIT_
  3. /*******************************************************************************
  4. * FILE NAME: idmtbrit.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the classes:                                                *
  8. *     IDMToolBarItem                                                           *
  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 <idmitem.hpp>
  19.  
  20. class IDMToolBarItemData;
  21.  
  22. #pragma pack(4)
  23.  
  24. class IDMToolBarItem : public IDMItem {
  25. typedef IDMItem
  26.   Inherited;
  27. public:
  28.  
  29. /*------------------------------- Constructors -------------------------------*/
  30.   IDMToolBarItem  ( const IDMItem::Handle& dragItem );
  31.  
  32. virtual
  33.   ~IDMToolBarItem ( );
  34.  
  35. /*------------------------------ Drop Processing -----------------------------*/
  36. virtual Boolean
  37.   targetDrop ( IDMTargetDropEvent& event );
  38.  
  39. private:
  40. /*--------------------------------- Private ----------------------------------*/
  41.  
  42. IDMToolBarItemData
  43.  *fDMToolBarItemData;
  44.  
  45. }; // IDMToolBarItem
  46.  
  47. #pragma pack()
  48.  
  49.  
  50. #endif // _IDMTBRIT_
  51.