source: trunk/gsdl/src/recpt/browsetools.h@ 1212

Last change on this file since 1212 was 1079, checked in by sjboddie, 24 years ago

Reverted back to old DocumentHeader, DocumentTitles, DocumentImages etc.
from DocumentColumns stuff. I'll move the DocumentColumns stuff to a
separate development branch (New_Config_Format-branch) for now. The plan
is to redesign the configuration file format a bit and limit the number of
distributions floating around that take different configuration formats).

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1/**********************************************************************
2 *
3 * browsetools.h --
4 * Copyright (C) 1999 The New Zealand Digital Library Project
5 *
6 * A component of the Greenstone digital library software
7 * from the New Zealand Digital Library Project at the
8 * University of Waikato, New Zealand.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 *
24 * $Id: browsetools.h 1079 2000-04-07 04:40:45Z sjboddie $
25 *
26 *********************************************************************/
27
28
29#ifndef BROWSETOOLS_H
30#define BROWSETOOLS_H
31
32#include "gsdlconf.h"
33#include "text_t.h"
34#include "cgiargs.h"
35#include "display.h"
36#include "recptproto.h"
37#include "formattools.h"
38#include "browserclass.h"
39
40typedef map<text_t, format_t*, lttext_t> format_tmap;
41
42void expanded_contents (cgiargsclass &args, int tabcount, bool fulltoc,
43 browsermapclass *browsermap, formatinfo_t &formatinfo,
44 recptproto *collectproto, displayclass &disp,
45 outconvertclass &outconvert, ostream &textout,
46 ostream &logout);
47
48void contracted_contents (cgiargsclass &args, int tabcount, bool fulltoc,
49 browsermapclass *browsermap, formatinfo_t &formatinfo,
50 recptproto *collectproto, displayclass &disp,
51 outconvertclass &outconvert, ostream &textout,
52 ostream &logout);
53
54void output_toc (cgiargsclass &args, browsermapclass *browsermap,
55 formatinfo_t &formatinfo, recptproto *collectproto,
56 displayclass &disp, outconvertclass &outconvert,
57 ostream &textout, ostream &logout);
58
59void output_titles (cgiargsclass &args, recptproto *collectproto,
60 formatinfo_t &formatinfo, displayclass &disp,
61 outconvertclass &outconvert, ostream &textout,
62 ostream &logout);
63
64void output_controls (cgiargsclass &args, const text_tarray &ibuttons,
65 recptproto *collectproto, displayclass &disp,
66 outconvertclass &outconvert, ostream &textout,
67 ostream &logout);
68
69void output_cover_image (cgiargsclass &args, recptproto *collectproto,
70 displayclass &disp, outconvertclass &outconvert,
71 ostream &textout, ostream &logout);
72
73
74#endif
Note: See TracBrowser for help on using the repository browser.