Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
Convert to/from some text encoding. More...
#include <XWindowsClipboardAnyBitmapConverter.h>
Public Member Functions | |
XWindowsClipboardAnyBitmapConverter ()=default | |
~XWindowsClipboardAnyBitmapConverter () override=default | |
IClipboard::EFormat | getFormat () const override |
Get clipboard format. | |
Atom | getAtom () const override=0 |
Get X11 format atom. | |
int | getDataSize () const override |
Get X11 property datum size. | |
std::string | fromIClipboard (const std::string &) const override |
Convert from IClipboard format. | |
std::string | toIClipboard (const std::string &) const override |
Convert to IClipboard format. | |
Public Member Functions inherited from IXWindowsClipboardConverter | |
Public Member Functions inherited from IInterface | |
virtual | ~IInterface ()=default |
Interface destructor does nothing. |
Protected Member Functions | |
virtual std::string | doBGRFromIClipboard (const uint8_t *bgrData, uint32_t w, uint32_t h) const =0 |
Convert from IClipboard format. | |
virtual std::string | doBGRAFromIClipboard (const uint8_t *bgrData, uint32_t w, uint32_t h) const =0 |
Convert from IClipboard format. | |
virtual std::string | doToIClipboard (const std::string &, uint32_t &w, uint32_t &h, uint32_t &depth) const =0 |
Convert to IClipboard format. |
Convert to/from some text encoding.
|
default |
|
overridedefault |
|
protectedpure virtual |
Convert from IClipboard format.
Convert raw BGRA pixel data to another image format.
|
protectedpure virtual |
Convert from IClipboard format.
Convert raw BGR pixel data to another image format.
|
protectedpure virtual |
Convert to IClipboard format.
Convert an image into raw BGR or BGRA image data and store the width, height, and image depth (24 or 32).
|
overridevirtual |
Convert from IClipboard format.
Convert from the IClipboard format to the X selection format. The input data must be in the IClipboard format returned by getFormat(). The return data will be in the X selection format returned by getAtom().
Implements IXWindowsClipboardConverter.
|
overridepure virtual |
Get X11 format atom.
Return the atom representing the X selection format that this object converts from/to.
Implements IXWindowsClipboardConverter.
|
overridevirtual |
Get X11 property datum size.
Return the size (in bits) of data elements returned by toIClipboard().
Implements IXWindowsClipboardConverter.
|
overridevirtual |
Get clipboard format.
Return the clipboard format this object converts from/to.
Implements IXWindowsClipboardConverter.
|
overridevirtual |
Convert to IClipboard format.
Convert from the X selection format to the IClipboard format (i.e., the reverse of fromIClipboard()).
Implements IXWindowsClipboardConverter.