cohtml::IViewListener::IClipboardData

The class should be used by the implementer to set the data recovered from the clipboard. Use this class only in the context of a ViewListener::OnClipboardTextGet call.

#include <View.h>

Public Functions

Name
virtual voidSet(const char * text, unsigned lengthBytes) =0
The implementer must set here the data recovered from the clipboard.
virtual~IClipboardData()

Public Functions Documentation

function Set

virtual void Set(
    const char * text,
    unsigned lengthBytes
) =0

The implementer must set here the data recovered from the clipboard.

Parameters:

  • text the text or data recovered from the clipboard
  • lengthBytes the length in bytes of the text recovered from the clipboard

function ~IClipboardData

inline virtual ~IClipboardData()