Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
CClipboardFreeRDP Class Reference
Inheritance diagram for CClipboardFreeRDP:

Public Slots

static UINT slotSendFormatDataRequest (CliprdrClientContext *context, UINT32 formatId)
 
virtual void slotClipBoardChanged ()
 

Signals

void sigServerFormatData (const BYTE *pData, UINT32 nLen, UINT32 formatId)
 Notify clipboard get data from server.
 
void sigServerFileContentsRespose (UINT32 streamId, QByteArray &data)
 

Public Member Functions

 CClipboardFreeRDP (CConnectFreeRDP *parent=nullptr)
 
int Init (CliprdrClientContext *context, bool bEnable)
 
int UnInit (CliprdrClientContext *context, bool bEnable)
 
UINT ServerFileSizeRequest (const CLIPRDR_FILE_CONTENTS_REQUEST *fileContentsRequest)
 
UINT ServerFileRangeRequest (const CLIPRDR_FILE_CONTENTS_REQUEST *fileContentsRequest)
 

Static Public Member Functions

static UINT cb_cliprdr_server_capabilities (CliprdrClientContext *context, const CLIPRDR_CAPABILITIES *capabilities)
 
static UINT cb_cliprdr_server_format_list (CliprdrClientContext *context, const CLIPRDR_FORMAT_LIST *formatList)
 
static UINT cb_cliprdr_server_format_list_response (CliprdrClientContext *context, const CLIPRDR_FORMAT_LIST_RESPONSE *formatListResponse)
 
static UINT cb_cliprdr_server_format_data_response (CliprdrClientContext *context, const CLIPRDR_FORMAT_DATA_RESPONSE *formatDataResponse)
 
static UINT cb_cliprdr_server_file_contents_request (CliprdrClientContext *context, const CLIPRDR_FILE_CONTENTS_REQUEST *fileContentsRequest)
 
static UINT cb_cliprdr_server_file_contents_response (CliprdrClientContext *context, const CLIPRDR_FILE_CONTENTS_RESPONSE *fileContentsResponse)
 
static UINT cb_cliprdr_monitor_ready (CliprdrClientContext *context, const CLIPRDR_MONITOR_READY *monitorReady)
 
static UINT SendClientFormatList (CliprdrClientContext *context)
 
static UINT cb_cliprdr_server_format_data_request (CliprdrClientContext *context, const CLIPRDR_FORMAT_DATA_REQUEST *formatDataRequest)
 
static UINT SendFormatDataResponse (CliprdrClientContext *context, const BYTE *data, size_t size)
 
static UINT SendFileContentsFailure (CliprdrClientContext *context, const CLIPRDR_FILE_CONTENTS_REQUEST *fileContentsRequest)
 
static UINT cb_clipboard_file_size_success (wClipboardDelegate *delegate, const wClipboardFileSizeRequest *request, UINT64 fileSize)
 
static UINT cb_clipboard_file_size_failure (wClipboardDelegate *delegate, const wClipboardFileSizeRequest *request, UINT errorCode)
 
static UINT cb_clipboard_file_range_success (wClipboardDelegate *delegate, const wClipboardFileRangeRequest *request, const BYTE *data, UINT32 size)
 
static UINT cb_clipboard_file_range_failure (wClipboardDelegate *delegate, const wClipboardFileRangeRequest *request, UINT errorCode)
 
static BOOL cbIsFileNameComponentValid (LPCWSTR lpFileName)
 

Private Attributes

CConnectFreeRDPm_pConnect
 
CliprdrClientContext * m_pCliprdrClientContext
 
friend CClipboardMimeData
 
QList< qint32 > m_lstClipboardMimeDataId
 
wClipboard * m_pClipboard
 
UINT32 m_RequestFormatId
 
UINT32 m_FileCapabilityFlags
 
bool m_bFileSupported
 
BOOL m_bFileFormatsRegistered
 

Detailed Description

Definition at line 15 of file ClipboardFreeRDP.h.

Constructor & Destructor Documentation

◆ ~CClipboardFreeRDP()

CClipboardFreeRDP::~CClipboardFreeRDP ( )
virtual

Definition at line 52 of file ClipboardFreeRDP.cpp.

Member Function Documentation

◆ cb_clipboard_file_range_failure()

UINT CClipboardFreeRDP::cb_clipboard_file_range_failure ( wClipboardDelegate *  delegate,
const wClipboardFileRangeRequest *  request,
UINT  errorCode 
)
static

Definition at line 623 of file ClipboardFreeRDP.cpp.

◆ cb_clipboard_file_range_success()

UINT CClipboardFreeRDP::cb_clipboard_file_range_success ( wClipboardDelegate *  delegate,
const wClipboardFileRangeRequest *  request,
const BYTE *  data,
UINT32  size 
)
static

Definition at line 603 of file ClipboardFreeRDP.cpp.

◆ cb_clipboard_file_size_failure()

UINT CClipboardFreeRDP::cb_clipboard_file_size_failure ( wClipboardDelegate *  delegate,
const wClipboardFileSizeRequest *  request,
UINT  errorCode 
)
static

Definition at line 584 of file ClipboardFreeRDP.cpp.

◆ cb_clipboard_file_size_success()

UINT CClipboardFreeRDP::cb_clipboard_file_size_success ( wClipboardDelegate *  delegate,
const wClipboardFileSizeRequest *  request,
UINT64  fileSize 
)
static

Definition at line 564 of file ClipboardFreeRDP.cpp.

◆ cb_cliprdr_monitor_ready()

UINT CClipboardFreeRDP::cb_cliprdr_monitor_ready ( CliprdrClientContext *  context,
const CLIPRDR_MONITOR_READY *  monitorReady 
)
static

Definition at line 156 of file ClipboardFreeRDP.cpp.

◆ cb_cliprdr_server_capabilities()

UINT CClipboardFreeRDP::cb_cliprdr_server_capabilities ( CliprdrClientContext *  context,
const CLIPRDR_CAPABILITIES *  capabilities 
)
static

Definition at line 118 of file ClipboardFreeRDP.cpp.

◆ cb_cliprdr_server_file_contents_request()

UINT CClipboardFreeRDP::cb_cliprdr_server_file_contents_request ( CliprdrClientContext *  context,
const CLIPRDR_FILE_CONTENTS_REQUEST *  fileContentsRequest 
)
static

Definition at line 714 of file ClipboardFreeRDP.cpp.

◆ cb_cliprdr_server_file_contents_response()

UINT CClipboardFreeRDP::cb_cliprdr_server_file_contents_response ( CliprdrClientContext *  context,
const CLIPRDR_FILE_CONTENTS_RESPONSE *  fileContentsResponse 
)
static

Definition at line 869 of file ClipboardFreeRDP.cpp.

◆ cb_cliprdr_server_format_data_request()

UINT CClipboardFreeRDP::cb_cliprdr_server_format_data_request ( CliprdrClientContext *  context,
const CLIPRDR_FORMAT_DATA_REQUEST *  formatDataRequest 
)
static

Definition at line 408 of file ClipboardFreeRDP.cpp.

◆ cb_cliprdr_server_format_data_response()

UINT CClipboardFreeRDP::cb_cliprdr_server_format_data_response ( CliprdrClientContext *  context,
const CLIPRDR_FORMAT_DATA_RESPONSE *  formatDataResponse 
)
static

Definition at line 849 of file ClipboardFreeRDP.cpp.

◆ cb_cliprdr_server_format_list()

UINT CClipboardFreeRDP::cb_cliprdr_server_format_list ( CliprdrClientContext *  context,
const CLIPRDR_FORMAT_LIST *  formatList 
)
static

Definition at line 757 of file ClipboardFreeRDP.cpp.

◆ cb_cliprdr_server_format_list_response()

UINT CClipboardFreeRDP::cb_cliprdr_server_format_list_response ( CliprdrClientContext *  context,
const CLIPRDR_FORMAT_LIST_RESPONSE *  formatListResponse 
)
static

Definition at line 803 of file ClipboardFreeRDP.cpp.

◆ cbIsFileNameComponentValid()

BOOL CClipboardFreeRDP::cbIsFileNameComponentValid ( LPCWSTR  lpFileName)
static

Definition at line 642 of file ClipboardFreeRDP.cpp.

◆ Init()

int CClipboardFreeRDP::Init ( CliprdrClientContext *  context,
bool  bEnable 
)

Definition at line 63 of file ClipboardFreeRDP.cpp.

◆ SendClientFormatList()

UINT CClipboardFreeRDP::SendClientFormatList ( CliprdrClientContext *  context)
static

Definition at line 205 of file ClipboardFreeRDP.cpp.

◆ SendFileContentsFailure()

UINT CClipboardFreeRDP::SendFileContentsFailure ( CliprdrClientContext *  context,
const CLIPRDR_FILE_CONTENTS_REQUEST *  fileContentsRequest 
)
static

Definition at line 663 of file ClipboardFreeRDP.cpp.

◆ SendFormatDataResponse()

UINT CClipboardFreeRDP::SendFormatDataResponse ( CliprdrClientContext *  context,
const BYTE *  data,
size_t  size 
)
static

Definition at line 546 of file ClipboardFreeRDP.cpp.

◆ ServerFileRangeRequest()

UINT CClipboardFreeRDP::ServerFileRangeRequest ( const CLIPRDR_FILE_CONTENTS_REQUEST *  fileContentsRequest)

Definition at line 678 of file ClipboardFreeRDP.cpp.

◆ ServerFileSizeRequest()

UINT CClipboardFreeRDP::ServerFileSizeRequest ( const CLIPRDR_FILE_CONTENTS_REQUEST *  fileContentsRequest)

Definition at line 694 of file ClipboardFreeRDP.cpp.

◆ sigServerFormatData

void CClipboardFreeRDP::sigServerFormatData ( const BYTE *  pData,
UINT32  nLen,
UINT32  formatId 
)
signal

Notify clipboard get data from server.

Parameters
pDatadata pointer
nLendata length
formatIdformat id if(pData == nullptr && nLen == 0) is Notify clipboard program has exited

◆ slotClipBoardChanged

void CClipboardFreeRDP::slotClipBoardChanged ( )
virtualslot

Definition at line 90 of file ClipboardFreeRDP.cpp.

◆ slotSendFormatDataRequest

UINT CClipboardFreeRDP::slotSendFormatDataRequest ( CliprdrClientContext *  context,
UINT32  formatId 
)
staticslot

Definition at line 832 of file ClipboardFreeRDP.cpp.

◆ UnInit()

int CClipboardFreeRDP::UnInit ( CliprdrClientContext *  context,
bool  bEnable 
)

Definition at line 83 of file ClipboardFreeRDP.cpp.

Member Data Documentation

◆ CClipboardMimeData

friend CClipboardFreeRDP::CClipboardMimeData
private

Definition at line 101 of file ClipboardFreeRDP.h.

◆ m_bFileFormatsRegistered

BOOL CClipboardFreeRDP::m_bFileFormatsRegistered
private

Definition at line 110 of file ClipboardFreeRDP.h.

◆ m_bFileSupported

bool CClipboardFreeRDP::m_bFileSupported
private

Definition at line 109 of file ClipboardFreeRDP.h.

◆ m_FileCapabilityFlags

UINT32 CClipboardFreeRDP::m_FileCapabilityFlags
private

Definition at line 108 of file ClipboardFreeRDP.h.

◆ m_lstClipboardMimeDataId

QList<qint32> CClipboardFreeRDP::m_lstClipboardMimeDataId
private

Definition at line 102 of file ClipboardFreeRDP.h.

◆ m_pClipboard

wClipboard* CClipboardFreeRDP::m_pClipboard
private

Definition at line 103 of file ClipboardFreeRDP.h.

◆ m_pCliprdrClientContext

CliprdrClientContext* CClipboardFreeRDP::m_pCliprdrClientContext
private

Definition at line 100 of file ClipboardFreeRDP.h.

◆ m_pConnect

CConnectFreeRDP* CClipboardFreeRDP::m_pConnect
private

Definition at line 99 of file ClipboardFreeRDP.h.

◆ m_RequestFormatId

UINT32 CClipboardFreeRDP::m_RequestFormatId
private

Definition at line 105 of file ClipboardFreeRDP.h.


The documentation for this class was generated from the following files: