home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / lancelot / lperswdm.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  3.0 KB  |  76 lines

  1. /******************************************************************************
  2. * .FILE:         lperswdm.hpp                                                 *
  3. *                                                                             *
  4. * .DESCRIPTION:  Lancelot Sample Program:              Class Definition       *
  5. *                                                                             *
  6. * .CLASSES:      EmployeeItem                                                 *
  7. *                                                                             *
  8. * .COPYRIGHT:                                                                 *
  9. *    Licensed Material - Program-Property of IBM                              *
  10. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  11. *                                                                             *
  12. * .DISCLAIMER:                                                                *
  13. *   The following [enclosed] code is sample code created by IBM               *
  14. *   Corporation.  This sample code is not part of any standard IBM product    *
  15. *   and is provided to you solely for the purpose of assisting you in the     *
  16. *   development of your applications.  The code is provided 'AS IS',          *
  17. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  18. *   arising out of your use of the sample code, even if they have been        *
  19. *   advised of the possibility of such damages.                               *
  20. *                                                                             *
  21. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  22. *                                                                             *
  23. ******************************************************************************/
  24. #ifndef _LPERSWDM_
  25. #define _LPERSWDM_
  26.  
  27.  
  28. #include "lancelot.h"
  29. #include "ldbase.hpp"
  30.  
  31. #include <idmprov.hpp>
  32. #include <idmcnrit.hpp>
  33. #include <idmevent.hpp>
  34. #include <idmimage.hpp>
  35. #include <ititle.hpp>
  36. #include <itrace.hpp>
  37. #include <istring.hpp>
  38.  
  39. class
  40.     LPersonnelCnrObject;
  41. class
  42.     LPersonnelWindow;
  43.  
  44. class EmployeeItem : public IDMCnrItem {
  45. typedef IDMCnrItem
  46.   Inherited;
  47. public:
  48.   EmployeeItem ( const IDMItem::Handle &item );
  49.   ~EmployeeItem ( );
  50.  
  51. static Boolean
  52.   generateSourceItems ( const IDMSourceOperation::Handle &srcOp );
  53.  
  54. virtual Boolean
  55.   sourceDiscard ( IDMSourceDiscardEvent &event );
  56.  
  57. virtual Boolean
  58.   targetDrop ( IDMTargetDropEvent &event ) ;
  59.  
  60. virtual unsigned long
  61.   supportedOperationsFor ( const IString &rmf ) const;
  62.  
  63. IContainerObject*  objectCopy();
  64.  
  65. EmployeeItem& transferActionDM( LPersonnelCnrObject* pObject,
  66.                                 IString xfrDept,
  67.                                 LPersonnelWindow* theWindow);
  68.  
  69.  
  70. IBase::Boolean deleteActionDM( LPersonnelCnrObject* pObject,
  71.                                LPersonnelWindow* theWindow);
  72.  
  73. }; // Class EmployeeItem
  74.  
  75. #endif
  76.