Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
Clipboard format converter interface. More...
#include <OSXClipboard.h>
Public Member Functions | |
accessors | |
virtual IClipboard::EFormat | getFormat () const =0 |
Get clipboard format. | |
virtual CFStringRef | getOSXFormat () const =0 |
returns the scrap flavor type that this object converts from/to | |
virtual std::string | fromIClipboard (const std::string &) const =0 |
Convert from IClipboard format. | |
virtual std::string | toIClipboard (const std::string &) const =0 |
Convert to IClipboard format. | |
Public Member Functions inherited from IInterface | |
virtual | ~IInterface ()=default |
Interface destructor does nothing. |
Clipboard format converter interface.
This interface defines the methods common to all Scrap book format
|
pure virtual |
Convert from IClipboard format.
Convert from the IClipboard format to the Carbon scrap format. The input data must be in the IClipboard format returned by getFormat(). The return data will be in the scrap format returned by getOSXFormat().
Implemented in OSXClipboardAnyBitmapConverter, OSXClipboardAnyTextConverter, and OSXClipboardBMPConverter.
|
pure virtual |
Get clipboard format.
Return the clipboard format this object converts from/to.
Implemented in OSXClipboardAnyBitmapConverter, OSXClipboardAnyTextConverter, OSXClipboardBMPConverter, and OSXClipboardHTMLConverter.
|
pure virtual |
returns the scrap flavor type that this object converts from/to
Implemented in OSXClipboardAnyBitmapConverter, OSXClipboardAnyTextConverter, OSXClipboardBMPConverter, OSXClipboardHTMLConverter, OSXClipboardTextConverter, OSXClipboardUTF16Converter, and OSXClipboardUTF8Converter.
|
pure virtual |
Convert to IClipboard format.
Convert from the carbon scrap format to the IClipboard format (i.e., the reverse of fromIClipboard()).
Implemented in OSXClipboardAnyBitmapConverter, OSXClipboardAnyTextConverter, and OSXClipboardBMPConverter.