diff options
author | runge <runge> | 2006-11-13 15:33:00 +0000 |
---|---|---|
committer | runge <runge> | 2006-11-13 15:33:00 +0000 |
commit | 4a83f87609b9d53b2983806be58ccd02498a5cd3 (patch) | |
tree | a79c96930a97fb162edd1765adece43425f8db8a /x11vnc/macosxCG.h | |
parent | 5f9693d4a2c511f8f2ea069373807c5f36ac1459 (diff) | |
download | libtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.tar.gz libtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.zip |
x11vnc: Native Mac OS X support.
Diffstat (limited to 'x11vnc/macosxCG.h')
-rw-r--r-- | x11vnc/macosxCG.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11vnc/macosxCG.h b/x11vnc/macosxCG.h new file mode 100644 index 0000000..4fe9c2a --- /dev/null +++ b/x11vnc/macosxCG.h @@ -0,0 +1,23 @@ +#ifndef _X11VNC_MACOSXCG_H +#define _X11VNC_MACOSXCG_H + +/* -- macosxCG.h -- */ + +extern void macosxCG_init(void); +extern void macosxCG_event_loop(void); +extern char *macosxCG_get_fb_addr(void); + +extern int macosxCG_CGDisplayPixelsWide(void); +extern int macosxCG_CGDisplayPixelsHigh(void); +extern int macosxCG_CGDisplayBitsPerPixel(void); +extern int macosxCG_CGDisplayBitsPerSample(void); +extern int macosxCG_CGDisplaySamplesPerPixel(void); + +extern void macosxCG_pointer_inject(int mask, int x, int y); +extern int macosxCG_get_cursor_pos(int *x, int *y); +extern int macosxCG_get_cursor(void); +extern void macosxCG_init_key_table(void); +extern void macosxCG_key_inject(int down, unsigned int keysym); + + +#endif /* _X11VNC_MACOSXCG_H */ |