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

Last change on this file since 919 was 914, checked in by sjboddie, 24 years ago

made some formerly static functions accessible from elsewhere (for
cstr receptionist)

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.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 914 2000-02-06 21:31:37Z 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);
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
58void output_controls (cgiargsclass &args, const text_tarray &ibuttons,
59 recptproto * /*collectproto*/, displayclass &disp,
60 outconvertclass &outconvert, ostream &textout,
61 ostream &/*logout*/);
62
63#endif
Note: See TracBrowser for help on using the repository browser.