1999-10-22 00:37:39 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2006-01-25 08:59:55 -05:00
|
|
|
// Name: wx/os2/dataobj.h
|
1999-10-22 00:37:39 -04:00
|
|
|
// Purpose: declaration of the wxDataObject
|
2003-01-24 17:31:41 -05:00
|
|
|
// Author: Stefan Csomor
|
1999-10-22 00:37:39 -04:00
|
|
|
// Modified by:
|
|
|
|
// Created: 10/21/99
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
1999-10-22 00:37:39 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2006-01-25 08:59:55 -05:00
|
|
|
#ifndef _WX_OS2_DATAOBJ_H_
|
|
|
|
#define _WX_OS2_DATAOBJ_H_
|
1999-10-22 00:37:39 -04:00
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxDataObject is the same as wxDataObjectBase under wxGTK
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
2006-01-25 08:59:55 -05:00
|
|
|
class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
|
1999-10-22 00:37:39 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxDataObject();
|
2003-01-24 17:31:41 -05:00
|
|
|
virtual ~wxDataObject();
|
1999-10-22 00:37:39 -04:00
|
|
|
|
2003-01-24 17:31:41 -05:00
|
|
|
virtual bool IsSupportedFormat( const wxDataFormat& eFormat
|
|
|
|
,Direction eDir = Get
|
|
|
|
) const
|
|
|
|
{
|
|
|
|
return(IsSupported( eFormat
|
|
|
|
,eDir
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
PDRAGITEM GetInterface(void) const {return m_pDataObject;}
|
|
|
|
private:
|
|
|
|
PDRAGITEM m_pDataObject;
|
1999-10-22 00:37:39 -04:00
|
|
|
};
|
|
|
|
|
2006-01-25 08:59:55 -05:00
|
|
|
#endif // _WX_OS2_DATAOBJ_H_
|