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

  1. #ifndef _IVBVPART_
  2.   #define _IVBVPART_
  3. /*******************************************************************************
  4. * FILE NAME: ivbvpart.hpp                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   Declaration of the class(es):                                              *
  8. *    IVBVariablePartBase - VB variable part base.                              *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   IBM(R) VisualAge(TM) for C++                                               *
  12. *   (C) Copyright International Business Machines Corporation 1991, 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. *   This program will not run in DOS mode.                                     *
  18. *                                                                              *
  19. *******************************************************************************/
  20.  
  21. #ifndef _IVBVCLSS_
  22.   #include <ivbvclss.hpp>
  23. #endif
  24.  
  25. #ifndef _IOBSERVR_
  26.   #include <iobservr.hpp>
  27. #endif
  28.  
  29. /*-------------------------- Pragma Library Support --------------------------*/
  30. #ifndef __NO_DEFAULT_LIBS__
  31.   #ifdef __OS2__
  32.     #ifdef __IMPORTLIB__
  33.        #pragma library("CPPOOV3I.LIB")
  34.     #else
  35.        #pragma library("CPPOOV3.LIB")
  36.     #endif
  37.   #endif
  38.   #ifdef __WINDOWS__
  39.     #ifdef __IMPORTLIB__
  40.        #pragma library("CPPWOV3I.LIB")
  41.     #else
  42.        #pragma library("CPPWOV3.LIB")
  43.     #endif
  44.   #endif
  45. #endif
  46.  
  47. /*----------------------------------------------------------------------------*/
  48. /* Align classes on four byte boundary.                                       */
  49. /*----------------------------------------------------------------------------*/
  50. #pragma pack(4)
  51.  
  52. class IVBVariablePartBase : public IVBVariableClassBase, public IObserver {
  53.  
  54. public:
  55. /*--------------------------- PUBLIC -----------------------------------------*/
  56.  
  57. /*------------------------ Constructors ----------------------------------------
  58. | You can construct an instance of this class in the following ways:           |
  59. ------------------------------------------------------------------------------*/
  60.   IVBVariablePartBase ();
  61.  
  62. virtual
  63.   ~IVBVariablePartBase ();
  64.  
  65. protected:
  66. /*--------------------------------- PROTECTED---------------------------------*/
  67. virtual IObserver
  68.   &dispatchNotificationEvent  ( const INotificationEvent& anEvent);
  69.  
  70. };
  71.  
  72. /*----------------------------------------------------------------------------*/
  73. /* Resume compiler default packing.                                           */
  74. /*----------------------------------------------------------------------------*/
  75. #pragma pack()
  76.  
  77. #endif /* _IVBVPART_ */
  78.