1999-10-22 00:37:39 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
1999-11-09 10:24:52 -05:00
|
|
|
// Name: mac/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
|
2003-03-17 05:34:04 -05:00
|
|
|
// Licence: wxWindows licence
|
1999-10-22 00:37:39 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1999-11-09 10:24:52 -05:00
|
|
|
#ifndef _WX_MAC_DATAOBJ_H_
|
|
|
|
#define _WX_MAC_DATAOBJ_H_
|
1999-10-22 00:37:39 -04:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dataobj.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxDataObject is the same as wxDataObjectBase under wxGTK
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class wxDataObject : public wxDataObjectBase
|
|
|
|
{
|
|
|
|
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
|
|
|
};
|
|
|
|
|
1999-11-09 10:24:52 -05:00
|
|
|
#endif // _WX_MAC_DATAOBJ_H_
|
1999-10-22 00:37:39 -04:00
|
|
|
|