dataobj.h 1.2 KB

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