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