diff options
author | George Kiagiadakis <[email protected]> | 2010-11-10 18:57:17 +0000 |
---|---|---|
committer | Christian Beier <[email protected]> | 2011-06-01 12:56:48 +0200 |
commit | 9f8d8d4ef38951767aa428796df127ff80de9b6e (patch) | |
tree | cafe023fdf284ce20a639d323e2a5bc30fbaecf8 /rfb | |
parent | c8b8938106816500062336cae9f936cd7722c1bb (diff) | |
download | libtdevnc-9f8d8d4ef38951767aa428796df127ff80de9b6e.tar.gz libtdevnc-9f8d8d4ef38951767aa428796df127ff80de9b6e.zip |
Split two event-loop related functions out of the rfbProcessEvents() mechanism.
This is required to be able to do proper event loop integration with Qt.
Idea was taken from vino's libvncserver fork.
Signed-off-by: Christian Beier <[email protected]>
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfb.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1003,6 +1003,12 @@ extern void rfbSetProtocolVersion(rfbScreenInfoPtr rfbScreen, int major_, int mi extern rfbBool rfbSendTextChatMessage(rfbClientPtr cl, uint32_t length, char *buffer); +/* + * Additions for Qt event loop integration + * Original idea taken from vino. + */ +void rfbProcessNewConnection(rfbScreenInfoPtr rfbScreen); +rfbBool rfbUpdateClient(rfbClientPtr cl); #if(defined __cplusplus) |