home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / treecnr.zip / Person.hpp < prev    next >
C/C++ Source or Header  |  1996-02-20  |  3KB  |  72 lines

  1. /*******************************************************************************
  2. * FILE NAME: Person.hpp                                                        *
  3. *                                                                              *
  4. * DESCRIPTION:                                                                 *
  5. *   Declaration of the class:                                                  *
  6. *     Person- A person that can be added to an organization heirarchy          *
  7. * ---------------------------------------------------------------------------- *
  8. * Warning: This file was generated by the VisualAge C++ Visual Builder.        *
  9. * Modifications to this source file will be lost when the part is regenerated. *
  10. *******************************************************************************/
  11. #ifndef _PERSON_
  12. #define _PERSON_  
  13.  
  14. class Person;
  15.  
  16. #ifndef _ISTDNTFY_
  17. #include <istdntfy.hpp>
  18. #endif
  19.  
  20. #ifndef _ISTRING_
  21. #include <istring.hpp>
  22. #endif
  23.  
  24. #include "Person.h"
  25.  
  26.  
  27. /*----------------------------------------------------------------------------*/
  28. /* Align classes on four byte boundary.                                       */
  29. /*----------------------------------------------------------------------------*/
  30. #pragma pack(4)
  31.  
  32. //*****************************************************************************
  33. // Class definition for Person
  34. //*****************************************************************************
  35. class Person : public IStandardNotifier {
  36. public:
  37.    //---------------------------------------------------------------------------
  38.    // Constructors / destructors
  39.    //---------------------------------------------------------------------------
  40.    Person(IString name = IString("new person"), IString bossName = IString(), IString phoneNumber = IString("555-1212"));
  41.  
  42.    virtual  ~Person();
  43.  
  44.    //---------------------------------------------------------------------------
  45.    // public member functions
  46.    //---------------------------------------------------------------------------
  47.    virtual Person & initializePart();
  48.  
  49.    //---------------------------------------------------------------------------
  50.    // public member data
  51.    //---------------------------------------------------------------------------
  52.    static const INotificationId readyId;
  53.  
  54. protected:
  55.    //---------------------------------------------------------------------------
  56.    // protected member functions
  57.    //---------------------------------------------------------------------------
  58.    Boolean makeConnections();
  59.  
  60. private:
  61.  
  62. #include "person.hpv"
  63. };   //Person
  64.  
  65.  
  66. /*----------------------------------------------------------------------------*/
  67. /* Resume compiler default packing.                                           */
  68. /*----------------------------------------------------------------------------*/
  69. #pragma pack()
  70.  
  71. #endif
  72.