Rabbit Remote Control 0.0.31
|
Classes | |
struct | ClientContext |
Public Slots | |
virtual void | slotClipBoardChanged () override |
Public Slots inherited from CConnectDesktop | |
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) |
Public Slots inherited from CConnect | |
virtual int | Connect () |
Start connect. | |
virtual int | Disconnect () |
Disconnect. | |
Public Member Functions | |
CConnectFreeRDP (CConnecterFreeRDP *pConnecter) | |
Public Member Functions inherited from CConnectDesktop | |
CConnectDesktop (CConnecter *pConnecter, bool bDirectConnection=true) | |
virtual bool | event (QEvent *event) override |
Public Member Functions inherited from CConnect | |
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 | |
Signals inherited from CConnectDesktop | |
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) |
Signals inherited from CConnect | |
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. | |
Protected Types inherited from CConnect | |
enum class | OnInitReturnValue { Fail = -1 , Success = 0 , UseOnProcess = Success , NotUseOnProcess = 1 } |
Protected Slots inherited from CConnect | |
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 1154 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1470 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1569 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1505 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1185 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1635 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1614 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 828 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1591 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 755 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 811 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 591 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 1420 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 1251 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 1348 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 1216 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 448 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 423 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 453 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 557 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 412 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 418 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 941 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 936 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 915 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 713 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 1802 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 1819 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 1719 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 1728 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 1765 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 843 of file ConnectFreeRDP.cpp.
|
static |
Definition at line 882 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 306 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1947 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1902 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1979 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 2013 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1835 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1656 of file ConnectFreeRDP.cpp.
|
overridevirtualslot |
Definition at line 404 of file ConnectFreeRDP.cpp.
|
privateslot |
Definition at line 2053 of file ConnectFreeRDP.cpp.
|
private |
Definition at line 1488 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Wake up Connect thread(background thread)
Reimplemented from CConnectDesktop.
Definition at line 1648 of file ConnectFreeRDP.cpp.
|
overrideprotectedvirtual |
Reimplemented from CConnectDesktop.
Definition at line 1676 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.