00001 /* This file is part of Cloudy and is copyright (C)1978-2007 by Gary J. Ferland 00002 * For conditions of distribution and use see copyright notice in license.txt */ 00003 #include "cddefines.h" 00004 #include "path.h" 00005 00025 /* The value below will be superseded if 00026 * specified by a compiler argument */ 00027 #ifndef LOCAL_DATA_PATH 00028 00029 /* 00030 * Specify path to local data here. 00031 * 00032 * This is for Unix variants. You specify the data directory using the usual 00033 Unix file name format, e.g.: */ 00034 #define LOCAL_DATA_PATH "/u/home1/gary/cloudy/current/data/" 00035 00036 /* The following shows the format for Windows. The filename is the 00037 * value between the "" -- the '\' character in Windows pathnames 00038 * needs to be included twice for each '\' in the file name.*/ 00039 // #define LOCAL_DATA_PATH "c:\\projects\\cloudy\\trunk\\data\\" 00040 00041 /* The // makes the above line of code a comment 00042 * if you want to use the Windows version remove the // from the line above and 00043 * place it place it in front of the unix path 9 lines above this line */ 00044 00045 #endif 00046 00047 /* That should be all you need to change! */ 00048 00049 /* FILENAME_PATH_LENGTH is the size of the string that holds the path. 00050 Increase the size of this variable in the header file cddefines.h 00051 if a larger string is needed to hold the path on your system. */ 00052 00053 char chDataPath[FILENAME_PATH_LENGTH]=LOCAL_DATA_PATH; 00054 /* true says that the path has been set - do not change this */ 00055 bool lgDataPathSet=true;