~registry/dolphin-emu/triforce

« back to all changes in this revision

Viewing changes to Externals/wxWidgets3/include/wx/osx/dataobj.h

  • Committer: Sérgio Benjamim
  • Date: 2015-02-13 05:54:40 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20150213055440-ey2rt3sjpy27km78
Dolphin Triforce branch from code.google, commit b957980 (4.0-315).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
///////////////////////////////////////////////////////////////////////////////
 
2
// Name:        wx/osx/dataobj.h
 
3
// Purpose:     declaration of the wxDataObject
 
4
// Author:      Stefan Csomor (adapted from Robert Roebling's gtk port)
 
5
// Modified by:
 
6
// Created:     10/21/99
 
7
// Copyright:   (c) 1998, 1999 Vadim Zeitlin, Robert Roebling
 
8
// Licence:     wxWindows licence
 
9
///////////////////////////////////////////////////////////////////////////////
 
10
 
 
11
#ifndef _WX_MAC_DATAOBJ_H_
 
12
#define _WX_MAC_DATAOBJ_H_
 
13
 
 
14
// ----------------------------------------------------------------------------
 
15
// wxDataObject is the same as wxDataObjectBase under wxGTK
 
16
// ----------------------------------------------------------------------------
 
17
 
 
18
class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
 
19
{
 
20
public:
 
21
    wxDataObject();
 
22
#ifdef __DARWIN__
 
23
    virtual ~wxDataObject() { }
 
24
#endif
 
25
 
 
26
    virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
 
27
    void AddToPasteboard( void * pasteboardRef , wxIntPtr itemID );
 
28
    // returns true if the passed in format is present in the pasteboard
 
29
    static bool IsFormatInPasteboard( void * pasteboardRef, const wxDataFormat &dataFormat );
 
30
    // returns true if any of the accepted formats of this dataobj is in the pasteboard
 
31
    bool HasDataInPasteboard( void * pasteboardRef );
 
32
    bool GetFromPasteboard( void * pasteboardRef );
 
33
    
 
34
#if wxOSX_USE_COCOA
 
35
    virtual void AddSupportedTypes( void* cfarray);
 
36
#endif
 
37
};
 
38
 
 
39
#endif // _WX_MAC_DATAOBJ_H_
 
40