home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
uicldd.zip
/
IDMCNRHD.INL
< prev
next >
Wrap
Text File
|
1993-09-03
|
3KB
|
75 lines
#ifndef _IDMCNRHD_INL_
#define _IDMCNRHD_INL_ 0
/*******************************************************************************
* FILE NAME: idmcnrhd.inl *
* *
* DESCRIPTION: *
* This file contains the definition of the inline functions for the *
* class(es) declared in idmcnrhd.hpp. *
* *
* COPYRIGHT: *
* Licensed Materials - Property of IBM *
* (C) Copyright IBM Corporation 1992, 1993 *
* All Rights Reserved *
* US Government Users Restricted Rights - Use, duplication, or *
* disclosure *
* restricted by GSA ADP Schedule Contract with IBM Corp. *
* *
* $Log: M:/ibmclass/idrag/vcs/idmcnrhd.inv $ *
//
// Rev 1.1 03 Sep 1993 10:44:08 banzai
//Add renderer/provider support to constructor
//
// Rev 1.0 02 Sep 1993 20:29:48 banzai
//Initial Drop
//
*******************************************************************************/
#ifndef _IDMCNRHD_
#undef _IDMCNRHD_INL_
#define _IDMCNRHD_INL_ 1
#include <idmcnrhd.hpp>
#endif
#if _IDMCNRHD_INL_
#define inline
#endif
/*=========================================================================
| Inlines for IDMCnrTargetHandler MAB 08/02 |
=========================================================================*/
inline Boolean IDMCnrTargetHandler :: wasDragAfter() const
{
return(this->bWasDragAfter);
}
inline IDMCnrTargetHandler& IDMCnrTargetHandler ::
setCurrentDropOffset(const ISize &offset)
{
this->sizeDropCurrent = offset;
return(*this);
}
inline ISize IDMCnrTargetHandler :: currentDropOffset() const
{
return(this->sizeDropCurrent);
}
inline IDMCnrTargetHandler& IDMCnrTargetHandler ::
setStyle(const DropStyle &drpStyle)
{
this->dropStyle = drpStyle;
return(*this);
}
inline IDMCnrTargetHandler::DropStyle IDMCnrTargetHandler :: style() const
{
return(this->dropStyle);
}
inline Boolean IDMCnrTargetHandler :: isStyle(const DropStyle &drpStyle)
{
return((style() & drpStyle) == drpStyle.asUnsignedLong());
}
#endif // _IDMCNRHD_INL_