source: trunk/gsdl/lib/cfgread.h@ 481

Last change on this file since 481 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: 644 bytes
Line 
1/**********************************************************************
2 *
3 * cfgread.h -- reads in configuration files
4 * Copyright (C) 1999 The New Zealand Digital Library Project
5 *
6 * PUT COPYRIGHT NOTICE HERE
7 *
8 * $Id: cfgread.h 114 1999-01-19 01:38:20Z rjmcnab $
9 *
10 *********************************************************************/
11
12
13#ifndef CFGREAD_H
14#define CFGREAD_H
15
16#include "gsdlconf.h"
17#include "text_t.h"
18
19#if defined(GSDL_USE_OBJECTSPACE)
20# include <ospace\std\fstream>
21#elif defined(GSDL_USE_IOS_H)
22# include <fstream.h>
23#else
24# include <fstream>
25#endif
26
27
28// returns 0 on success, -1 on failure
29int read_cfg_line (ifstream &filein, text_tarray &values);
30
31#endif
Note: See TracBrowser for help on using the repository browser.