1998-12-14 16:13:49 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
1999-10-21 00:25:42 +00:00
|
|
|
// Name: gtk/dataobj.h
|
|
|
|
// Purpose: declaration of the wxDataObject
|
1998-12-14 16:13:49 +00:00
|
|
|
// Author: Robert Roebling
|
|
|
|
// RCS-ID: $Id$
|
1999-10-21 00:25:42 +00:00
|
|
|
// Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling
|
1998-12-14 16:13:49 +00:00
|
|
|
// Licence: wxWindows license
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1999-10-21 00:25:42 +00:00
|
|
|
#ifndef _WX_GTK_DATAOBJ_H_
|
|
|
|
#define _WX_GTK_DATAOBJ_H_
|
1998-12-14 16:13:49 +00:00
|
|
|
|
2002-09-07 12:28:46 +00:00
|
|
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
1999-10-21 00:25:42 +00:00
|
|
|
#pragma interface "dataobj.h"
|
1998-12-14 16:13:49 +00:00
|
|
|
#endif
|
|
|
|
|
1999-10-21 00:25:42 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxDataObject is the same as wxDataObjectBase under wxGTK
|
|
|
|
// ----------------------------------------------------------------------------
|
1998-12-14 16:13:49 +00:00
|
|
|
|
1999-10-21 00:25:42 +00:00
|
|
|
class wxDataObject : public wxDataObjectBase
|
1999-01-19 16:33:16 +00:00
|
|
|
{
|
1999-10-21 10:23:30 +00:00
|
|
|
public:
|
|
|
|
wxDataObject();
|
2001-07-21 05:32:09 +00:00
|
|
|
#ifdef __DARWIN__
|
|
|
|
virtual ~wxDataObject() { }
|
|
|
|
#endif
|
|
|
|
|
1999-10-21 10:23:30 +00:00
|
|
|
virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
|
1998-12-14 16:13:49 +00:00
|
|
|
};
|
|
|
|
|
1999-10-21 00:25:42 +00:00
|
|
|
#endif // _WX_GTK_DATAOBJ_H_
|
1998-12-14 16:13:49 +00:00
|
|
|
|