Rabbit Remote Control 0.0.36
|
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. | |
int | OnProcess (int nTimeout) |
Specific operation processing of plug-in connection. | |
Private Attributes | |
CConnecterFreeRDP * | m_pConnecter |
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 25 of file ConnectFreeRDP.h.
|
overridevirtual |
Definition at line 87 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1523 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1894 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1993 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1929 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1554 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 2059 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 2038 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 995 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 2015 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 922 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 978 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 688 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1844 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 1661 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 1770 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 1585 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 525 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 500 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 530 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 654 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 489 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 495 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1108 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1103 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1082 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 880 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2227 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2244 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2144 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2153 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2190 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1010 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1049 of file ConnectFreeRDP.cpp.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Specific plug-in realizes connection initialization.
Implements CConnect.
Definition at line 98 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 364 of file ConnectFreeRDP.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 382 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2372 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2327 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2404 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2438 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2260 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2081 of file ConnectFreeRDP.cpp.
|
overridevirtualslot |
Definition at line 481 of file ConnectFreeRDP.cpp.
|
privateslot |
Definition at line 2478 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1912 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Wake up Connect thread(background thread)
Reimplemented from CConnectDesktop.
Definition at line 2072 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 2101 of file ConnectFreeRDP.cpp.
|
friend |
Definition at line 179 of file ConnectFreeRDP.h.
|
private |
Definition at line 173 of file ConnectFreeRDP.h.
|
private |
Definition at line 177 of file ConnectFreeRDP.h.
|
private |
Definition at line 178 of file ConnectFreeRDP.h.
|
private |
Definition at line 175 of file ConnectFreeRDP.h.
|
private |
Definition at line 161 of file ConnectFreeRDP.h.
|
private |
Definition at line 170 of file ConnectFreeRDP.h.
|
private |
Definition at line 171 of file ConnectFreeRDP.h.
|
private |
Definition at line 181 of file ConnectFreeRDP.h.