Rabbit Remote Control 0.0.37
|
Classes | |
struct | ClientContext |
Public Slots | |
virtual void | slotClipBoardChanged () override |
![]() | |
virtual void | slotClipBoardChanged ()=0 |
Be called when the clip board change. | |
virtual void | slotMousePressEvent (QMouseEvent *event, QPoint pos) |
virtual void | slotMouseReleaseEvent (QMouseEvent *event, QPoint pos) |
virtual void | slotMouseMoveEvent (QMouseEvent *event, QPoint pos) |
virtual void | slotWheelEvent (QWheelEvent *event, QPoint pos) |
virtual void | slotKeyPressEvent (QKeyEvent *event) |
virtual void | slotKeyReleaseEvent (QKeyEvent *event) |
virtual void | slotInputMethodEvent (QInputMethodEvent *event) |
Public Member Functions | |
CBackendFreeRDP (COperateFreeRDP *pOperate) | |
![]() | |
CBackendDesktop (COperateDesktop *pOperate=nullptr, bool bDirectConnection=true) | |
virtual bool | event (QEvent *event) override |
![]() | |
CBackend (COperate *pOperate=nullptr) | |
virtual int | Start () |
Start. | |
virtual int | Stop () |
Stop. | |
Static Public Member Functions | |
static BOOL | cbGlobalInit () |
static void | cbGlobalUninit () |
static BOOL | cbClientNew (freerdp *instance, rdpContext *context) |
static void | cbClientFree (freerdp *instance, rdpContext *context) |
static int | cbClientStart (rdpContext *context) |
static int | cbClientStop (rdpContext *context) |
static BOOL | cb_pre_connect (freerdp *instance) |
Callback given to freerdp_connect() to process the pre-connect operations. | |
static BOOL | cb_post_connect (freerdp *instance) |
Callback given to freerdp_connect() to perform post-connection operations. | |
static void | cb_post_disconnect (freerdp *instance) |
static int | cb_logon_error_info (freerdp *instance, UINT32 data, UINT32 type) |
static void | OnChannelConnectedEventHandler (void *context, ChannelConnectedEventArgs *e) |
static void | OnChannelDisconnectedEventHandler (void *context, ChannelDisconnectedEventArgs *e) |
static BOOL | cb_authenticate (freerdp *instance, char **username, char **password, char **domain) |
static BOOL | cb_GatewayAuthenticate (freerdp *instance, char **username, char **password, char **domain) |
static int | cb_verify_x509_certificate (freerdp *instance, const BYTE *data, size_t length, const char *hostname, UINT16 port, DWORD flags) |
Callback used if user interaction is required to accept a certificate. | |
static DWORD | cb_verify_certificate_ex (freerdp *instance, const char *host, UINT16 port, const char *common_name, const char *subject, const char *issuer, const char *fingerprint, DWORD flags) |
Callback set in the rdp_freerdp structure, and used to make a certificate validation when the connection requires it. | |
static DWORD | cb_verify_changed_certificate_ex (freerdp *instance, const char *host, UINT16 port, const char *common_name, const char *subject, const char *issuer, const char *fingerprint, const char *old_subject, const char *old_issuer, const char *old_fingerprint, DWORD flags) |
Callback set in the rdp_freerdp structure, and used to make a certificate validation when a stored certificate does not match the remote counterpart. | |
static BOOL | cb_present_gateway_message (freerdp *instance, UINT32 type, BOOL isDisplayMandatory, BOOL isConsentMandatory, size_t length, const WCHAR *message) |
static BOOL | cb_begin_paint (rdpContext *context) |
static BOOL | cb_end_paint (rdpContext *context) |
static BOOL | cb_desktop_resize (rdpContext *context) |
static BOOL | cb_play_bell_sound (rdpContext *context, const PLAY_SOUND_UPDATE *play_sound) |
static BOOL | cb_keyboard_set_indicators (rdpContext *context, UINT16 led_flags) |
static BOOL | cb_keyboard_set_ime_status (rdpContext *context, UINT16 imeId, UINT32 imeState, UINT32 imeConvMode) |
static UINT32 | GetImageFormat (QImage::Format format) |
static const char * | GetTitle (freerdp *instance) |
Protected Member Functions | |
virtual void | mousePressEvent (QMouseEvent *event) override |
virtual void | mouseReleaseEvent (QMouseEvent *event) override |
virtual void | mouseMoveEvent (QMouseEvent *event) override |
virtual void | wheelEvent (QWheelEvent *event) override |
virtual void | keyPressEvent (QKeyEvent *event) override |
virtual void | keyReleaseEvent (QKeyEvent *event) override |
virtual void | InputMethodEvent (QInputMethodEvent *event) override |
virtual int | WakeUp () override |
Wake up Backend thread(background thread) | |
Private Slots | |
void | slotConnectProxyServer (QString szHost, quint16 nPort) |
Private Member Functions | |
UINT32 | GetImageFormat () |
BOOL | CreateImage (rdpContext *context) |
BOOL | UpdateBuffer (INT32 x, INT32 y, INT32 w, INT32 h) |
int | RedirectionSound () |
int | RedirectionMicrophone () |
int | RedirectionDriver () |
int | RedirectionPrinter () |
int | RedirectionSerial () |
bool | SendMouseEvent (UINT16 flags, QPoint pos, bool isExtended) |
virtual OnInitReturnValue | OnInit () override |
Initialization. | |
virtual int | OnClean () override |
Clean. | |
virtual int | OnProcess () override |
Specific operation processing of plug-in connection. | |
int | OnProcess (int nTimeout) |
Specific operation processing of plug-in connection. | |
Private Attributes | |
COperateDesktop * | m_pOperate |
ClientContext * | m_pContext |
CParameterFreeRDP * | m_pParameter |
RDP_CLIENT_ENTRY_POINTS | m_ClientEntryPoints |
QImage | m_Image |
CClipboardFreeRDP | m_ClipBoard |
CCursorFreeRDP | m_Cursor |
HANDLE | m_writeEvent |
Friends | |
class | CCursorFreeRDP |
Additional Inherited Members | |
![]() | |
void | sigSetDesktopSize (int width, int height) |
void | sigServerName (const QString &szName) |
void | sigUpdateRect (const QRect &r, const QImage &image) |
Notify the CFrmView update image. | |
void | sigUpdateRect (const QImage &image) |
Notify the CFrmView update image. | |
void | sigUpdateCursor (const QCursor &cursor) |
void | sigUpdateCursorPosition (const QPoint &pos) |
void | sigUpdateLedState (unsigned int state) |
void | sigSetClipboard (QMimeData *data) |
![]() | |
void | sigRunning () |
Emitted when the plugin is successfully started. | |
void | sigStop () |
Notify the user to stop. | |
void | sigFinished () |
Successful stopped signal. | |
void | sigError (const int nError, const QString &szError=QString()) |
Triggered when an error is generated. | |
void | sigInformation (const QString &szInfo) |
Triggering from a background thread displays information in the main thread without blocking the background thread. | |
void | sigShowMessageBox (const QString &szTitle, const QString &szMessage, const QMessageBox::Icon &icon=QMessageBox::Information) |
Trigger the display of a message dialog (QMessageBox) in the main thread from a background thread without blocking the background thread. | |
void | sigBlockShowMessageBox (const QString &szTitle, const QString &szMessage, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton &nRet, bool &checkBox, QString checkBoxContext=QString()) |
Block background threads and display message dialogs in foreground threads (QMessageBox) | |
void | sigBlockInputDialog (const QString &szTitle, const QString &szLable, const QString &szMessage, QString &szText) |
Block background threads and display input dialogs in foreground threads (QInputDialog) | |
void | sigBlockShowWidget (const QString &className, int &nRet, void *pContext) |
Blocks the background thread and displays the window in the foreground thread. | |
![]() | |
enum class | OnInitReturnValue { Fail = -1 , Success = 0 , UseOnProcess = Success , NotUseOnProcess = 1 } |
![]() | |
virtual void | slotTimeOut () |
a non-Qt event loop (that is, normal loop processing), It call OnProcess(), and start timer. | |
Definition at line 25 of file BackendFreeRDP.h.
|
overridevirtual |
Definition at line 88 of file BackendFreeRDP.cpp.
|
static |
Definition at line 1525 of file BackendFreeRDP.cpp.
|
static |
Definition at line 1896 of file BackendFreeRDP.cpp.
|
static |
Definition at line 1995 of file BackendFreeRDP.cpp.
|
static |
Definition at line 1931 of file BackendFreeRDP.cpp.
|
static |
Definition at line 1556 of file BackendFreeRDP.cpp.
|
static |
Definition at line 2061 of file BackendFreeRDP.cpp.
|
static |
Definition at line 2040 of file BackendFreeRDP.cpp.
|
static |
Definition at line 997 of file BackendFreeRDP.cpp.
|
static |
Definition at line 2017 of file BackendFreeRDP.cpp.
|
static |
Callback given to freerdp_connect() to perform post-connection operations.
It will be called only if the connection was initialized properly, and will continue the initialization based on the newly created connection.
Definition at line 924 of file BackendFreeRDP.cpp.
|
static |
Definition at line 980 of file BackendFreeRDP.cpp.
|
static |
Callback given to freerdp_connect() to process the pre-connect operations.
Called before a connection is established.
It will fill the rdp_freerdp structure (instance) with the appropriate options to use for the connection.
instance | - pointer to the rdp_freerdp structure that contains the connection's parameters, and will be filled with the appropriate information. |
Set all configuration options to support and load channels here.
Callback given to freerdp_connect() to process the pre-connect operations. It will fill the rdp_freerdp structure (instance) with the appropriate options to use for the connection.
instance | - pointer to the rdp_freerdp structure that contains the connection's parameters, and will be filled with the appropriate information. |
Definition at line 689 of file BackendFreeRDP.cpp.
|
static |
Definition at line 1846 of file BackendFreeRDP.cpp.
|
static |
Callback set in the rdp_freerdp structure, and used to make a certificate validation when the connection requires it.
This function will actually be called by tls_verify_certificate().
instance | pointer to the rdp_freerdp structure that contains the connection settings |
host | The host currently connecting to |
port | The port currently connecting to |
common_name | The common name of the certificate, should match host or an alias of it |
subject | The subject of the certificate |
issuer | The certificate issuer name |
fingerprint | The fingerprint of the certificate |
flags | See VERIFY_CERT_FLAG_* for possible values. |
Definition at line 1663 of file BackendFreeRDP.cpp.
|
static |
Callback set in the rdp_freerdp structure, and used to make a certificate validation when a stored certificate does not match the remote counterpart.
This function will actually be called by tls_verify_certificate().
instance | pointer to the rdp_freerdp structure that contains the connection settings |
host | The host currently connecting to |
port | The port currently connecting to |
common_name | The common name of the certificate, should match host or an alias of it |
subject | The subject of the certificate |
issuer | The certificate issuer name |
fingerprint | The fingerprint of the certificate |
old_subject | The subject of the previous certificate |
old_issuer | The previous certificate issuer name |
old_fingerprint | The fingerprint of the previous certificate |
flags | See VERIFY_CERT_FLAG_* for possible values. |
Definition at line 1772 of file BackendFreeRDP.cpp.
|
static |
Callback used if user interaction is required to accept a certificate.
instance | Pointer to the freerdp instance. |
data | Pointer to certificate data (full chain) in PEM format. |
length | The length of the certificate data. |
hostname | The hostname connecting to. |
port | The port connecting to. |
flags | Flags of type VERIFY_CERT_FLAG* |
Definition at line 1587 of file BackendFreeRDP.cpp.
|
static |
Definition at line 526 of file BackendFreeRDP.cpp.
|
static |
Definition at line 501 of file BackendFreeRDP.cpp.
|
static |
Definition at line 531 of file BackendFreeRDP.cpp.
|
static |
Definition at line 655 of file BackendFreeRDP.cpp.
|
static |
Definition at line 490 of file BackendFreeRDP.cpp.
|
static |
Definition at line 496 of file BackendFreeRDP.cpp.
|
private |
Definition at line 1110 of file BackendFreeRDP.cpp.
|
private |
Definition at line 1105 of file BackendFreeRDP.cpp.
|
static |
Definition at line 1084 of file BackendFreeRDP.cpp.
|
static |
Definition at line 882 of file BackendFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CBackendDesktop.
Definition at line 2262 of file BackendFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CBackendDesktop.
Definition at line 2229 of file BackendFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CBackendDesktop.
Definition at line 2246 of file BackendFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CBackendDesktop.
Definition at line 2146 of file BackendFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CBackendDesktop.
Definition at line 2155 of file BackendFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CBackendDesktop.
Definition at line 2192 of file BackendFreeRDP.cpp.
|
static |
Definition at line 1012 of file BackendFreeRDP.cpp.
|
static |
Definition at line 1051 of file BackendFreeRDP.cpp.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Initialization.
Implements CBackend.
Definition at line 99 of file BackendFreeRDP.cpp.
|
overrideprivatevirtual |
Specific operation processing of plug-in connection.
Because of it is a non-Qt event loop, so wait in here.
Reimplemented from CBackend.
Definition at line 365 of file BackendFreeRDP.cpp.
|
private |
Specific operation processing of plug-in connection.
Because of it is a non-Qt event loop, so wait in here.
Definition at line 383 of file BackendFreeRDP.cpp.
|
private |
Definition at line 2392 of file BackendFreeRDP.cpp.
|
private |
Definition at line 2347 of file BackendFreeRDP.cpp.
|
private |
Definition at line 2424 of file BackendFreeRDP.cpp.
|
private |
Definition at line 2458 of file BackendFreeRDP.cpp.
|
private |
Definition at line 2280 of file BackendFreeRDP.cpp.
|
private |
Definition at line 2083 of file BackendFreeRDP.cpp.
|
overridevirtualslot |
Definition at line 482 of file BackendFreeRDP.cpp.
|
privateslot |
Definition at line 2498 of file BackendFreeRDP.cpp.
|
private |
Definition at line 1914 of file BackendFreeRDP.cpp.
|
overrideprotectedvirtual |
Wake up Backend thread(background thread)
Reimplemented from CBackendDesktop.
Definition at line 2074 of file BackendFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CBackendDesktop.
Definition at line 2103 of file BackendFreeRDP.cpp.
|
friend |
Definition at line 180 of file BackendFreeRDP.h.
|
private |
Definition at line 174 of file BackendFreeRDP.h.
|
private |
Definition at line 178 of file BackendFreeRDP.h.
|
private |
Definition at line 179 of file BackendFreeRDP.h.
|
private |
Definition at line 176 of file BackendFreeRDP.h.
|
private |
Definition at line 171 of file BackendFreeRDP.h.
|
private |
Definition at line 162 of file BackendFreeRDP.h.
|
private |
Definition at line 172 of file BackendFreeRDP.h.
|
private |
Definition at line 182 of file BackendFreeRDP.h.