Last change
on this file since 146 was 112, checked in by rjmcnab, 25 years ago |
Standard header.
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.0 KB
|
Line | |
---|
1 | /**********************************************************************
|
---|
2 | *
|
---|
3 | * recptconfinfo.h -- tools for reading and storing configuration data
|
---|
4 | * needed by the receptionist
|
---|
5 | * Copyright (C) 1999 The New Zealand Digital Library Project
|
---|
6 | *
|
---|
7 | * PUT COPYRIGHT NOTICE HERE
|
---|
8 | *
|
---|
9 | * $Id: recptconfinfo.h 112 1999-01-12 01:51:06Z rjmcnab $
|
---|
10 | *
|
---|
11 | *********************************************************************/
|
---|
12 |
|
---|
13 |
|
---|
14 | #ifndef RECPTCONFINFO_H
|
---|
15 | #define RECPTCONFINFO_H
|
---|
16 |
|
---|
17 |
|
---|
18 | class recpt_cfg_info_t {
|
---|
19 | public:
|
---|
20 | recpt_cfg_info_t () {numbytes=0.0; numdocs=0.0;};
|
---|
21 |
|
---|
22 | // read_cfg_file will attempt to read a configuration
|
---|
23 | // file and extract the fields listed below. It returns
|
---|
24 | // true if it successfully read the file, and false
|
---|
25 | // otherwise.
|
---|
26 | bool read_cfg_file (const text_t &filename);
|
---|
27 |
|
---|
28 | // the fields which this reader handles
|
---|
29 | text_t maintainer;
|
---|
30 | text_tarray indexes;
|
---|
31 | text_t defaultindex;
|
---|
32 | text_tarray macrofiles;
|
---|
33 | text_t builddate;
|
---|
34 | text_tarray indexmap;
|
---|
35 | double numbytes;
|
---|
36 | double numdocs;
|
---|
37 | text_t defaultencoding;
|
---|
38 | };
|
---|
39 |
|
---|
40 |
|
---|
41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.