home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / LANCELOT / LPERSWDM.HPP < prev    next >
C/C++ Source or Header  |  1995-04-01  |  2KB  |  68 lines

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