00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef header_implementation_xwindow
00020 #define header_implementation_xwindow
00021
00022 #ifdef USE_X11
00023
00024 #include "X11/Xlib.h"
00025 #include "X11/Xutil.h"
00026
00027 char* xwindow_identify();
00028 char* xwindow_abbreviation();
00029 void xwindow_init();
00030
00031
00032 class CL_Implementation_XWindow
00033 {
00034 public:
00035 static bool initialized;
00036 static int display_counter;
00037
00038 static Display *dpy;
00039 static Window root;
00040 static int default_scr;
00041
00042 public:
00043 ~CL_Implementation_XWindow();
00044
00045 static bool init();
00046 static void clean_up();
00047
00048 static void add_display();
00049 };
00050
00051 #endif
00052
00053 #endif