/**** spray_files.h ******************************
 *
 *  variation on Breck Owens dir path include file
 *  SYS_TYPE defines the Operating System (UNIX/PC)
 *  DIR_TREE defines user's desired directory path
 *
 *  jts 28jul08
 *
 *************************************************/
 
 /***NOTE by declaring global strings below, this 
  * header file can only be included once.
  * If doing a multi-file program compile, secondary files must
  * use an external reference, i.e.
  * extern char Spray_Data[];
  */
  
 //set flag that this header file has been called
 #ifndef  _spray_files_h
    #define  _spray_files_h
 #endif
 // for multiple-file programs use:

 //    #include "spray_files.h"  //<<<in the main program
 
 //    #include "ext_spray_files.h" //<<< other .c files
 
 //Choice of OS types
 #define UNIX 1
 #define PC   2
 // add others if needed
 
 //different directory tree choices:
 #define SIO         1
 #define WHOI        2
 #define SIO_DEBUG   3
 // add others here
 
 
 //>>>>>>> DECLARE  >>>>>>>>>>>>>>>>>>>>>>>
 #define SYS_TYPE  PC
 #define DIR_TREE  SIO
 //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 

// define parameters that are OS-dependent 
#if   SYS_TYPE == UNIX
	char	delim[] = "/"; // dir path delimiter
	char     feol[] = "\n";  // end-of-line if binary file open
	char  os_type[] = "UNIX"; // avail for program display
	
#elif SYS_TYPE == PC
	char	delim[] = "\\";
	char     feol[] = "\r\n";
	char  os_type[] = "PC";
	
#else 
   print("COMPILE ERROR, SYS_TYPE UNDEFINED"); // !cause error
#endif
 
 
 // define dir path for group + OS ***************************************************
 // these paths are defined in separate include files, 
 // with the #if choosing the correct include file.
 
 #if    DIR_TREE  == SIO
   #if  SYS_TYPE  == UNIX
     // set paths to SIO UNIX directory  ---------------------------------------------
     #include "sio_unix_files.h"
     //-------------------------------------------------------------------------------
   #elif SYS_TYPE == PC
     // set paths to SIO PC directory  -----------------------------------------------
     #include "sio_pc_files.h"
   //---------------------------------------------------------------------------------
   #endif // end for SYS_TYPE



 #elif   DIR_TREE  == WHOI
   #if   SYS_TYPE  == UNIX
     // set paths to WHOI UNIX directory  --------------------------------------------
     #include "whoi_unix_files.h"
     //-------------------------------------------------------------------------------   
   #else  
      print("COMPILE ERROR, SYS_TYPE NOT DEFINED"); //cause compiler to complain !!
   #endif // end for SYS_TYPE
 
 
 
 
 #elif   DIR_TREE  == SIO_DEBUG
   #if   SYS_TYPE  == UNIX
     // set paths to SIO DEBUG UNIX directory  ---------------------------------------
     #include "sio_unix_debug_files.h"
     //-------------------------------------------------------------------------------   
   #else  
      print("COMPILE ERROR, SYS_TYPE NOT DEFINED"); //cause compiler to complain !!
   #endif // end for SYS_TYPE
 
 #else  
    print("COMPILE ERROR, DIR_TREE NOT DEFINED"); //cause compiler to complain !!
 #endif
 
 //************************************************************************************
 

 
