summaryrefslogtreecommitdiffstats
path: root/x11vnc/macosx.h
diff options
context:
space:
mode:
authorrunge <runge>2006-11-13 15:33:00 +0000
committerrunge <runge>2006-11-13 15:33:00 +0000
commit4a83f87609b9d53b2983806be58ccd02498a5cd3 (patch)
treea79c96930a97fb162edd1765adece43425f8db8a /x11vnc/macosx.h
parent5f9693d4a2c511f8f2ea069373807c5f36ac1459 (diff)
downloadlibtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.tar.gz
libtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.zip
x11vnc: Native Mac OS X support.
Diffstat (limited to 'x11vnc/macosx.h')
-rw-r--r--x11vnc/macosx.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11vnc/macosx.h b/x11vnc/macosx.h
new file mode 100644
index 0000000..77c6e4a
--- /dev/null
+++ b/x11vnc/macosx.h
@@ -0,0 +1,19 @@
+#ifndef _X11VNC_MACOSX_H
+#define _X11VNC_MACOSX_H
+
+/* -- macosx.h -- */
+
+extern char *macosx_console_guess(char *str, int *fd);
+extern char *macosx_get_fb_addr(void);
+extern void macosx_key_command(rfbBool down, rfbKeySym keysym, rfbClientPtr client);
+extern void macosx_pointer_command(int mask, int x, int y, rfbClientPtr client);
+extern void macosx_event_loop(void);
+extern int macosx_get_cursor(void);
+extern int macosx_get_cursor_pos(int *, int *);
+extern int macosx_valid_window(Window, XWindowAttributes*);
+extern Status macosx_xquerytree(Window w, Window *root_return, Window *parent_return,
+ Window **children_return, unsigned int *nchildren_return);
+
+
+
+#endif /* _X11VNC_MACOSX_H */