Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

internal.h

Go to the documentation of this file.
00001 // * This makes emacs happy -*-Mode: C++;-*-
00002 /****************************************************************************
00003  * Copyright (c) 1998-2003,2005 Free Software Foundation, Inc.              *
00004  *                                                                          *
00005  * Permission is hereby granted, free of charge, to any person obtaining a  *
00006  * copy of this software and associated documentation files (the            *
00007  * "Software"), to deal in the Software without restriction, including      *
00008  * without limitation the rights to use, copy, modify, merge, publish,      *
00009  * distribute, distribute with modifications, sublicense, and/or sell       *
00010  * copies of the Software, and to permit persons to whom the Software is    *
00011  * furnished to do so, subject to the following conditions:                 *
00012  *                                                                          *
00013  * The above copyright notice and this permission notice shall be included  *
00014  * in all copies or substantial portions of the Software.                   *
00015  *                                                                          *
00016  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
00017  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
00018  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
00019  * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
00020  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
00021  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
00022  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
00023  *                                                                          *
00024  * Except as contained in this notice, the name(s) of the above copyright   *
00025  * holders shall not be used in advertising or otherwise to promote the     *
00026  * sale, use or other dealings in this Software without prior written       *
00027  * authorization.                                                           *
00028  ****************************************************************************/
00029 
00030 /****************************************************************************
00031  *   Author: Juergen Pfeifer, 1997                                          *
00032  ****************************************************************************/
00033 
00034 // $Id: internal.h,v 1.12 2005/08/06 22:12:25 tom Exp $
00035 
00036 #ifndef NCURSES_CPLUS_INTERNAL_H
00037 #define NCURSES_CPLUS_INTERNAL_H 1
00038 
00039 #include <ncurses_cfg.h>
00040 
00041 #if USE_RCS_IDS
00042 #define MODULE_ID(id) static const char Ident[] = id;
00043 #else
00044 #define MODULE_ID(id) /*nothing*/
00045 #endif
00046 
00047 #define CTRL(x) ((x) & 0x1f)
00048 
00049 #ifndef __EXT_QNX
00050 #include <string.h>
00051 #endif
00052 
00053 #endif /* NCURSES_CPLUS_INTERNAL_H */

© sourcejam.com 2005-2008