@@ -188,7 +188,23 @@ typedef void (*HandleKeyboardLedStateProc)(struct _rfbClient* client, int value,
188188typedef rfbBool (* HandleCursorPosProc )(struct _rfbClient * client , int x , int y );
189189typedef void (* SoftCursorLockAreaProc )(struct _rfbClient * client , int x , int y , int w , int h );
190190typedef void (* SoftCursorUnlockScreenProc )(struct _rfbClient * client );
191+ /**
192+ Callback indicating that a rectangular area of the client's framebuffer was updated.
193+ As a server will usually send several rects per rfbFramebufferUpdate message, this
194+ callback is usually called multiple times per rfbFramebufferUpdate message.
195+ @param client The client whose framebuffer was (partially) updated
196+ @param x The x-coordinate of the upper left corner of the updated rectangle
197+ @param y The y-coordinate of the upper left corner of the updated rectangle
198+ @param w The width of the updated rectangle
199+ @param h The heigth of the updated rectangle
200+ */
191201typedef void (* GotFrameBufferUpdateProc )(struct _rfbClient * client , int x , int y , int w , int h );
202+ /**
203+ Callback indicating that a client has completely processed an rfbFramebufferUpdate
204+ message sent by a server.
205+ This is called exactly once per each handled rfbFramebufferUpdate message.
206+ @param client The client which finished processing an rfbFramebufferUpdate
207+ */
192208typedef void (* FinishedFrameBufferUpdateProc )(struct _rfbClient * client );
193209typedef char * (* GetPasswordProc )(struct _rfbClient * client );
194210typedef rfbCredential * (* GetCredentialProc )(struct _rfbClient * client , int credentialType );
0 commit comments