]>
Commit | Line | Data |
---|---|---|
6dddc146 | 1 | /////////////////////////////////////////////////////////////////////////////// |
e7549107 | 2 | // Name: mac/dataobj.h |
6dddc146 | 3 | // Purpose: declaration of the wxDataObject |
4fd899b6 | 4 | // Author: Stefan Csomor |
6dddc146 DW |
5 | // Modified by: |
6 | // Created: 10/21/99 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling | |
65571936 | 9 | // Licence: wxWindows licence |
6dddc146 DW |
10 | /////////////////////////////////////////////////////////////////////////////// |
11 | ||
e7549107 SC |
12 | #ifndef _WX_MAC_DATAOBJ_H_ |
13 | #define _WX_MAC_DATAOBJ_H_ | |
6dddc146 | 14 | |
6dddc146 DW |
15 | // ---------------------------------------------------------------------------- |
16 | // wxDataObject is the same as wxDataObjectBase under wxGTK | |
17 | // ---------------------------------------------------------------------------- | |
18 | ||
19 | class wxDataObject : public wxDataObjectBase | |
20 | { | |
21 | public: | |
22 | wxDataObject(); | |
4fd899b6 | 23 | virtual ~wxDataObject(); |
6dddc146 | 24 | |
4fd899b6 DW |
25 | virtual bool IsSupportedFormat( const wxDataFormat& eFormat |
26 | ,Direction eDir = Get | |
27 | ) const | |
28 | { | |
29 | return(IsSupported( eFormat | |
30 | ,eDir | |
31 | )); | |
32 | } | |
33 | ||
34 | PDRAGITEM GetInterface(void) const {return m_pDataObject;} | |
35 | private: | |
36 | PDRAGITEM m_pDataObject; | |
6dddc146 DW |
37 | }; |
38 | ||
e7549107 | 39 | #endif // _WX_MAC_DATAOBJ_H_ |
6dddc146 | 40 |