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

Last change on this file since 928 was 928, checked in by kjm18, 24 years ago

search history stuff added.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.3 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 928 2000-02-15 22:53:52Z kjm18 $
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);
47void contracted_contents (cgiargsclass &args, int tabcount, bool fulltoc,
48 browsermapclass *browsermap, formatinfo_t &formatinfo,
49 recptproto *collectproto, displayclass &disp,
50 outconvertclass &outconvert, ostream &textout,
51 ostream &logout);
52
53void output_toc (cgiargsclass &args, browsermapclass *browsermap,
54 formatinfo_t &formatinfo, recptproto *collectproto,
55 displayclass &disp, outconvertclass &outconvert,
56 ostream &textout, ostream &logout);
57
58
59// output_controls displays the detach, expand/contract contents,
60// expand/contract text and highlighting/no highlighting buttons
61 void output_controls (cgiargsclass &args, const text_tarray &ibuttons,
62 recptproto * /*collectproto*/, displayclass &disp,
63 outconvertclass &outconvert, ostream &textout,
64 ostream &/*logout*/);
65
66 void output_cover_image (cgiargsclass &args, recptproto * /*collectproto*/,
67 displayclass &disp, outconvertclass &outconvert,
68 ostream &textout, ostream &/*logout*/);
69
70 void output_titles (cgiargsclass &args, recptproto *collectproto,
71 formatinfo_t &formatinfo, displayclass &disp,
72 outconvertclass &outconvert, ostream &textout,
73 ostream &logout);
74void contracted_contents (cgiargsclass &args, int tabcount, bool fulltoc,
75 browsermapclass *browsermap, formatinfo_t &formatinfo,
76 recptproto *collectproto, displayclass &disp,
77 outconvertclass &outconvert, ostream &textout,
78 ostream &logout);
79
80 void expanded_contents (cgiargsclass &args, int tabcount, bool fulltoc,
81 browsermapclass *browsermap, formatinfo_t &formatinfo,
82 recptproto *collectproto, displayclass &disp,
83 outconvertclass &outconvert, ostream &textout,
84 ostream &logout);
85
86
87#endif
Note: See TracBrowser for help on using the repository browser.