source: trunk/gsdl/src/library/conftools.h@ 144

Last change on this file since 144 was 114, checked in by rjmcnab, 25 years ago

Made the source more portable.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 370 bytes
Line 
1#ifndef CONFTOOLS_H
2#define CONFTOOLS_H
3
4#include "gsdlconf.h"
5
6#if defined(GSDL_USE_OBJECTSPACE)
7# include <ospace/std/fstream>
8#elif defined(GSDL_USE_IOS_H)
9# include <fstream.h>
10#else
11# include <fstream>
12#endif
13
14int write_confline (ofstream &fileout, const text_t &key, const text_t value);
15int get_confline (ifstream &filein, text_t &key, text_t &value);
16
17#endif
Note: See TracBrowser for help on using the repository browser.