Rabbit Remote Control 0.0.35
|
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 int | Connect () |
Start connect. | |
virtual int | Disconnect () |
Disconnect. | |
Public Member Functions | |
CConnectFreeRDP (CConnecterFreeRDP *pConnecter) | |
![]() | |
CConnectDesktop (CConnecter *pConnecter, bool bDirectConnection=true) | |
virtual bool | event (QEvent *event) override |
![]() | |
CConnect (CConnecter *pConnecter) | |
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 int | WakeUp () override |
Wake up Connect 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 |
Specific plug-in realizes connection initialization. | |
virtual int | OnClean () override |
Clean. | |
virtual int | OnProcess () override |
Specific operation processing of plug-in connection. | |
Private Attributes | |
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 | sigConnected () |
Emitted when the plugin is successfully connected. | |
void | sigDisconnect () |
Notify the user to call disconnect. | |
void | sigDisconnected () |
Successful disconnection 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 17 of file ConnectFreeRDP.h.
|
overridevirtual |
Definition at line 65 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1445 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1816 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1915 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1851 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1476 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1981 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1960 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 917 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1937 of file ConnectFreeRDP.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 844 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 900 of file ConnectFreeRDP.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 609 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1766 of file ConnectFreeRDP.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 1583 of file ConnectFreeRDP.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 1692 of file ConnectFreeRDP.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 1507 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 459 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 434 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 464 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 575 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 423 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 429 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1030 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1025 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1004 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 802 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2148 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2165 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2065 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2074 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2111 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 932 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 971 of file ConnectFreeRDP.cpp.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Specific plug-in realizes connection initialization.
Implements CConnect.
Definition at line 76 of file ConnectFreeRDP.cpp.
|
overrideprivatevirtual |
Specific operation processing of plug-in connection.
Because of it is a non-Qt event loop, so wait in here.
Reimplemented from CConnect.
Definition at line 317 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2293 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2248 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2325 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2359 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2181 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2002 of file ConnectFreeRDP.cpp.
|
overridevirtualslot |
Definition at line 415 of file ConnectFreeRDP.cpp.
|
privateslot |
Definition at line 2399 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1834 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Wake up Connect thread(background thread)
Reimplemented from CConnectDesktop.
Definition at line 1994 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2022 of file ConnectFreeRDP.cpp.
|
friend |
Definition at line 169 of file ConnectFreeRDP.h.
|
private |
Definition at line 163 of file ConnectFreeRDP.h.
|
private |
Definition at line 167 of file ConnectFreeRDP.h.
|
private |
Definition at line 168 of file ConnectFreeRDP.h.
|
private |
Definition at line 165 of file ConnectFreeRDP.h.
|
private |
Definition at line 160 of file ConnectFreeRDP.h.
|
private |
Definition at line 161 of file ConnectFreeRDP.h.
|
private |
Definition at line 171 of file ConnectFreeRDP.h.