Commit ae5142bd authored by dscho's avatar dscho

add rfbclient.h to distribution; avoid C++ style comments

parent eeb2061d
...@@ -9,7 +9,7 @@ includedir=$(prefix)/include/rfb ...@@ -9,7 +9,7 @@ includedir=$(prefix)/include/rfb
#include_HEADERS=rfb.h rfbconfig.h rfbint.h rfbproto.h keysym.h rfbregion.h #include_HEADERS=rfb.h rfbconfig.h rfbint.h rfbproto.h keysym.h rfbregion.h
include_HEADERS=rfb/rfb.h rfb/rfbconfig.h rfb/rfbint.h rfb/rfbproto.h \ include_HEADERS=rfb/rfb.h rfb/rfbconfig.h rfb/rfbint.h rfb/rfbproto.h \
rfb/keysym.h rfb/rfbregion.h rfb/keysym.h rfb/rfbregion.h rfb/rfbclient.h
noinst_HEADERS=d3des.h zrleDecode.h zrleEncode.h rfb/default8x16.h \ noinst_HEADERS=d3des.h zrleDecode.h zrleEncode.h rfb/default8x16.h \
rdr/Exception.h rdr/FdInStream.h rdr/FdOutStream.h \ rdr/Exception.h rdr/FdInStream.h rdr/FdOutStream.h \
......
...@@ -86,7 +86,7 @@ bin_SCRIPTS = libvncserver-config ...@@ -86,7 +86,7 @@ bin_SCRIPTS = libvncserver-config
#include_HEADERS=rfb.h rfbconfig.h rfbint.h rfbproto.h keysym.h rfbregion.h #include_HEADERS=rfb.h rfbconfig.h rfbint.h rfbproto.h keysym.h rfbregion.h
include_HEADERS = rfb/rfb.h rfb/rfbconfig.h rfb/rfbint.h rfb/rfbproto.h \ include_HEADERS = rfb/rfb.h rfb/rfbconfig.h rfb/rfbint.h rfb/rfbproto.h \
rfb/keysym.h rfb/rfbregion.h rfb/keysym.h rfb/rfbregion.h rfb/rfbclient.h
noinst_HEADERS = d3des.h zrleDecode.h zrleEncode.h rfb/default8x16.h \ noinst_HEADERS = d3des.h zrleDecode.h zrleEncode.h rfb/default8x16.h \
......
...@@ -424,7 +424,6 @@ typedef struct _rfbClientRec { ...@@ -424,7 +424,6 @@ typedef struct _rfbClientRec {
#ifdef LIBVNCSERVER_HAVE_LIBJPEG #ifdef LIBVNCSERVER_HAVE_LIBJPEG
/* tight encoding -- preserve zlib streams' state for each client */ /* tight encoding -- preserve zlib streams' state for each client */
//#ifdef LIBVNCSERVER_HAVE_LIBJPEG
z_stream zsStruct[4]; z_stream zsStruct[4];
rfbBool zsActive[4]; rfbBool zsActive[4];
int zsLevel[4]; int zsLevel[4];
...@@ -713,7 +712,7 @@ void rfbDrawLine(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2,rfbPixel col); ...@@ -713,7 +712,7 @@ void rfbDrawLine(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2,rfbPixel col);
with a NULL. with a NULL.
It returns the index in the list or -1 if cancelled or something else It returns the index in the list or -1 if cancelled or something else
wasn't kosher. */ wasn't kosher. */
typedef void (*SelectionChangedHookPtr)(int index); typedef void (*SelectionChangedHookPtr)(int _index);
extern int rfbSelectBox(rfbScreenInfoPtr rfbScreen, extern int rfbSelectBox(rfbScreenInfoPtr rfbScreen,
rfbFontDataPtr font, char** list, rfbFontDataPtr font, char** list,
int x1, int y1, int x2, int y2, int x1, int y1, int x2, int y2,
......
...@@ -145,8 +145,6 @@ typedef struct _rfbClient { ...@@ -145,8 +145,6 @@ typedef struct _rfbClient {
/* cursor.c */ /* cursor.c */
// TODO: make callback
extern rfbBool HandleCursorShape(rfbClient* client,int xhot, int yhot, int width, int height, uint32_t enc); extern rfbBool HandleCursorShape(rfbClient* client,int xhot, int yhot, int width, int height, uint32_t enc);
/* listen.c */ /* listen.c */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment