VirtualBox Main API
Public Member Functions | Public Attributes | List of all members
IDnDBase Interface Reference

Base abstract interface for drag'n drop. More...

Inheritance diagram for IDnDBase:
IDnDSource IDnDTarget IGuestDnDSource IGuestDnDTarget

Public Member Functions

void isFormatSupported (in wstring format, [retval] out boolean supported)
 Checks if a specific drag'n drop MIME / Content-type format is supported.
 
void addFormats (in wstring[] formats)
 Adds MIME / Content-type formats to the supported formats.
 
void removeFormats (in wstring[] formats)
 Removes MIME / Content-type formats from the supported formats.
 

Public Attributes

readonly attribute wstring[] formats
 Returns all supported drag'n drop formats.
 

Detailed Description

Base abstract interface for drag'n drop.

Interface ID:
{00727A73-000A-4C4A-006D-E7D300351186}

Member Function Documentation

◆ isFormatSupported()

void IDnDBase::isFormatSupported ( in wstring  format,
[retval] out boolean  supported 
)

Checks if a specific drag'n drop MIME / Content-type format is supported.

Parameters
formatFormat to check for.
supportedReturns true if the specified format is supported, false if not.

◆ addFormats()

void IDnDBase::addFormats ( in wstring[]  formats)

Adds MIME / Content-type formats to the supported formats.

Parameters
formatsCollection of formats to add.

◆ removeFormats()

void IDnDBase::removeFormats ( in wstring[]  formats)

Removes MIME / Content-type formats from the supported formats.

Parameters
formatsCollection of formats to remove.

Member Data Documentation

◆ formats

readonly attribute wstring [] IDnDBase::formats

Returns all supported drag'n drop formats.