00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GET_X11_H
00016 #define GET_X11_H
00017
00018 #include "pandabase.h"
00019
00020 #ifdef HAVE_X11
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifdef CPPPARSER
00031
00032
00033 typedef int X11_Display;
00034 typedef int X11_Window;
00035 typedef int X11_Cursor;
00036 typedef int XErrorEvent;
00037 typedef int XVisualInfo;
00038 typedef int Atom;
00039 typedef int XIM;
00040 typedef int XIC;
00041 #else
00042
00043 #include "pre_x11_include.h"
00044 #include <X11/Xlib.h>
00045 #include <X11/Xutil.h>
00046 #include <X11/keysym.h>
00047 #include <X11/Xatom.h>
00048
00049 #ifdef HAVE_XRANDR
00050 #include <X11/extensions/Xrandr.h>
00051 #endif // HAVE_XRANDR
00052
00053 #ifdef HAVE_XCURSOR
00054 #include <X11/Xcursor/Xcursor.h>
00055 #endif
00056
00057 #ifdef HAVE_XF86DGA
00058 #include <X11/extensions/xf86dga.h>
00059 #endif
00060
00061 #include "post_x11_include.h"
00062
00063 #endif // CPPPARSER
00064 #endif // HAVE_X11
00065
00066 #endif