casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
X_enter.h
Go to the documentation of this file.
00001 //# X_enter.h: Include file to enter X name space
00002 //# Copyright (C) 1999
00003 //# Associated Universities, Inc. Washington DC, USA.
00004 //#
00005 //# This library is free software; you can redistribute it and/or modify it
00006 //# under the terms of the GNU Library General Public License as published by
00007 //# the Free Software Foundation; either version 2 of the License, or (at your
00008 //# option) any later version.
00009 //#
00010 //# This library is distributed in the hope that it will be useful, but WITHOUT
00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013 //# License for more details.
00014 //#
00015 //# You should have received a copy of the GNU Library General Public License
00016 //# along with this library; if not, write to the Free Software Foundation,
00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00018 //#
00019 //# Correspondence concerning AIPS++ should be addressed as follows:
00020 //#        Internet email: aips2-request@nrao.edu.
00021 //#        Postal address: AIPS++ Project Office
00022 //#                        National Radio Astronomy Observatory
00023 //#                        520 Edgemont Road
00024 //#                        Charlottesville, VA 22903-2475 USA
00025 //#
00026 //# $Id$
00027 
00028 // <summary>
00029 // Include file to enter X name space
00030 // </summary>
00031 //
00032 // <motivation>
00033 // Need to avoid conflicts between X11 and aips++ classes
00034 // </motivation>
00035 //
00036 // <synopsis>
00037 // Xlib.h issues the following statements:
00038 // <ul>
00039 // <li> #define Bool int
00040 // <li> #define True 1
00041 // <li> #define False 0
00042 // </ul>
00043 // X.h issues the following statements:
00044 // <ul>
00045 // <li> #define Complex          0        /* paths may intersect */
00046 // <li> typedef unsigned long Time;
00047 // </ul>
00048 // </synopsis>
00049 //
00050 // <group name="Definitions for Enter X Namespace">
00051 
00052 /*
00053 
00054 #ifndef X_NameSpace
00055 #define X_NameSpace
00056 
00057 #ifdef String
00058 #undef String
00059 #endif
00060 #define String XString
00061 
00062 #ifdef Time
00063 #undef Time
00064 #endif
00065 #define Time XTime
00066 
00067 #ifdef Display
00068 #undef Display
00069 #endif
00070 #define Display XDisplay
00071 
00072 #ifdef Colormap
00073 #undef Colormap
00074 #endif
00075 #define Colormap XColormap
00076 
00077 #undef Bool
00078 #undef True
00079 #undef False
00080 
00081 #undef Complex
00082 
00083 #define XFalse 0
00084 #define XTrue 1
00085 #endif
00086 */
00087 // </group>