00001 // 00002 // Copyright 2002, Lowell Boggs Jr. 00003 // 00004 // This file or directory, containing source code for a computer program, 00005 // is Copyrighted by Lowell Boggs, Jr. 987 Regency Drive, Lewisville 00006 // TX (USA), 75067. You may use, copy, modify, and distribute this 00007 // source file without charge or obligation so long as you agree to 00008 // the following: 00009 // 00010 // 1. You must indemnify Lowell Boggs against any and all financial 00011 // obligations caused by its use, misuse, function, or malfunction. 00012 // Further, you acknowledge that there is no warranty of any kind, 00013 // whatsoever. 00014 // 00015 // 2. You agree not to attempt to patent any portion of this original 00016 // work -- though you may attempt to patent your own extensions to 00017 // it if you so choose. 00018 // 00019 // 3. You keep this copyright notice with the file and all copies 00020 // of the file and do not change it anyway except language translation. 00021 // 00022 // You are responsible for enforcing your own compliance with these 00023 // conditions and may not use this source file if you cannot agree to the 00024 // above terms and conditions. 00025 00028 00029 #include <cxxtls/cursesinterface.h> 00030 00031 // 00032 // There are 3 implementations of the curses interface 00033 // 1. the unix normal implementation (truly portable) 00034 // 2. the microsoft windows implementation (goofy but workable) 00035 // 3. the test implementation (an ascii only version for diagnostic tests) 00036 // which can be found in ../tests/curses_stub.c 00037 // The version you get is based on the compiler you are using: if you are using 00038 // the microsoft compiler, the assumption is that you want the windows version. 00039 // 00040 // To use the diagnostic version, manually build the ../tests/curses_stub.$O file 00041 // and force it onto the link command line rather than relying on the $(TOOLS) 00042 // library to supply the one selected by this file. 00043 // 00044 00045 #ifdef _MSC_VER 00046 # include <windows_curses.h> 00047 #else 00048 # include <unix_curses.h> 00049 #endif 00050 00051 namespace cxxtls 00052 { 00053 00054 namespace CursesInterface 00055 { 00056 bool winch_occurred = false; 00057 bool resize_requested = false; 00058 } 00059 00060 } // namespace cxxtls