]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/dataobj.h
use wx-style header and commets; fix indentation to be 4 spaces; move Doxygen comment...
[wxWidgets.git] / include / wx / os2 / dataobj.h
CommitLineData
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
7// RCS-ID: $Id$
8// Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling
65571936 9// Licence: wxWindows licence
6dddc146
DW
10///////////////////////////////////////////////////////////////////////////////
11
0e2a14e5
WS
12#ifndef _WX_OS2_DATAOBJ_H_
13#define _WX_OS2_DATAOBJ_H_
6dddc146 14
6dddc146
DW
15// ----------------------------------------------------------------------------
16// wxDataObject is the same as wxDataObjectBase under wxGTK
17// ----------------------------------------------------------------------------
18
0e2a14e5 19class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
6dddc146
DW
20{
21public:
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;}
35private:
36 PDRAGITEM m_pDataObject;
6dddc146
DW
37};
38
0e2a14e5 39#endif // _WX_OS2_DATAOBJ_H_