Windows2003-3790/windows/advcore/duser/engine/ctrl/olddragdrop.inl
2020-09-30 16:53:55 +02:00

64 lines
1.6 KiB
C++

#if !defined(CORE__OldDragDrop_inl__INCLUDED)
#define CORE__OldDragDrop_inl__INCLUDED
#pragma once
/***************************************************************************\
*****************************************************************************
*
* class OldTargetLock
*
*****************************************************************************
\***************************************************************************/
//------------------------------------------------------------------------------
inline
OldTargetLock::OldTargetLock()
{
}
//------------------------------------------------------------------------------
inline
OldTargetLock::~OldTargetLock()
{
if (m_fAddRef) {
m_punk->Release();
}
}
/***************************************************************************\
*****************************************************************************
*
* class OldDropTarget
*
*****************************************************************************
\***************************************************************************/
//------------------------------------------------------------------------------
inline
OldDropTarget::OldDropTarget()
{
}
//------------------------------------------------------------------------------
inline BOOL
OldDropTarget::HasSource() const
{
return m_pdoSrc != NULL;
}
//------------------------------------------------------------------------------
inline BOOL
OldDropTarget::HasTarget() const
{
return m_pdtCur != NULL;
}
#endif // CORE__OldDragDrop_inl__INCLUDED