diff options
Diffstat (limited to 'rfb/rfbclient.h')
-rw-r--r-- | rfb/rfbclient.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h index e8754fd..17b22b3 100644 --- a/rfb/rfbclient.h +++ b/rfb/rfbclient.h @@ -107,6 +107,9 @@ typedef rfbBool (*MallocFrameBufferProc)(struct _rfbClient* client); typedef void (*GotXCutTextProc)(struct _rfbClient* client, const char *text, int textlen); typedef void (*BellProc)(struct _rfbClient* client); +typedef void (*GotCursorShapeProc)(struct _rfbClient* client, int xhot, int yhot, int width, int height, int bytesPerPixel); +typedef void (*GotCopyRectProc)(struct _rfbClient* client, int src_x, int src_y, int w, int h, int dest_x, int dest_y); + typedef struct _rfbClient { uint8_t* frameBuffer; int width, height; @@ -222,6 +225,9 @@ typedef struct _rfbClient { GotXCutTextProc GotXCutText; BellProc Bell; + GotCursorShapeProc GotCursorShape; + GotCopyRectProc GotCopyRect; + /* Which messages are supported by the server * This is a *guess* for most servers. * (If we can even detect the type of server) |