summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <kiagiadakis.george@gmail.com>2010-11-10 18:57:17 +0000
committerChristian Beier <dontmind@freeshell.org>2011-06-01 12:56:48 +0200
commit9f8d8d4ef38951767aa428796df127ff80de9b6e (patch)
treecafe023fdf284ce20a639d323e2a5bc30fbaecf8 /rfb/rfb.h
parentc8b8938106816500062336cae9f936cd7722c1bb (diff)
downloadlibtdevnc-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 <dontmind@freeshell.org>
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index fb8d892..12c5278 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -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)