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 >
Wrap
C/C++ Source or Header
|
1995-04-01
|
2KB
|
68 lines
/****************************************************************************
* LANCELOT SAMPLE PROGRAM - lperswdm.hpp *
* *
* Classes : EmployeeItem *
* *
* DISCLAIMER OF WARRANTIES: *
* The following [enclosed] code is sample code created by IBM *
* Corporation. This sample code is not part of any standard IBM product *
* and is provided to you solely for the purpose of assisting you in the *
* development of your applications. The code is provided "AS IS", *
* without warranty of any kind. IBM shall not be liable for any damages *
* arising out of your use of the sample code, even if they have been *
* advised of the possibility of such damages. *
****************************************************************************/
#ifndef _LPERSWDM_
#define _LPERSWDM_
#include "lancelot.h"
#include "ldbase.hpp"
#include <idmprov.hpp>
#include <idmcnrit.hpp>
#include <idmevent.hpp>
#include <idmimage.hpp>
#include <ititle.hpp>
#include <itrace.hpp>
#include <istring.hpp>
class
LPersonnelCnrObject;
class
LPersonnelWindow;
class EmployeeItem : public IDMCnrItem {
typedef IDMCnrItem
Inherited;
public:
EmployeeItem ( const IDMItem::Handle &item );
~EmployeeItem ( );
static Boolean
generateSourceItems ( const IDMSourceOperation::Handle &srcOp );
virtual Boolean
sourceDiscard ( IDMSourceDiscardEvent &event );
virtual Boolean
targetDrop ( IDMTargetDropEvent &event ) ;
virtual unsigned long
supportedOperationsFor ( const IString &rmf ) const;
IContainerObject* objectCopy();
EmployeeItem& transferActionDM( LPersonnelCnrObject* pObject,
IString xfrDept,
LPersonnelWindow* theWindow);
IBase::Boolean deleteActionDM( LPersonnelCnrObject* pObject,
LPersonnelWindow* theWindow);
}; // Class EmployeeItem
#endif