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

Last change on this file since 411 was 404, checked in by sjboddie, 25 years ago

got List and AZList classifications using format strings - tidied
up a bit

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1/**********************************************************************
2 *
3 * browsetools.h --
4 * Copyright (C) 1999 The New Zealand Digital Library Project
5 *
6 * PUT COPYRIGHT NOTICE HERE
7 *
8 * $Id: browsetools.h 404 1999-07-20 02:58:16Z sjboddie $
9 *
10 *********************************************************************/
11
12
13#ifndef BROWSETOOLS_H
14#define BROWSETOOLS_H
15
16#include "gsdlconf.h"
17#include "text_t.h"
18#include "cgiargs.h"
19#include "display.h"
20#include "recptproto.h"
21
22
23// Note that at present the build software is capable (if you write a plugin to do
24// it) of generating classifications that contain other classifications of a
25// different type. This module can only handle one case of that however (i.e. an
26// AZList containing a Hierarchy classification as used by hdl's 'magazine'
27// section). It really needs redesigning to handle all cases.
28
29
30void book_toc (cgiargsclass &args, recptproto *collectproto,
31 displayclass &disp, outconvertclass &outconvert,
32 ostream &textout, ostream &logout);
33
34void hierarchy_toc (const text_t &classifytype,
35 cgiargsclass &args, recptproto *collectproto,
36 displayclass &disp, outconvertclass &outconvert,
37 ostream &textout, ostream &logout);
38
39void list_toc (const text_t &classifytype, text_t &formatstring,
40 cgiargsclass &args, recptproto *collectproto,
41 displayclass &disp, outconvertclass &outconvert,
42 ostream &textout, ostream &logout);
43
44void datelist_toc (const text_t &classifytype, const text_t &classifytitle,
45 const text_t &formatstring, cgiargsclass &args, recptproto *collectproto,
46 displayclass &disp, outconvertclass &outconvert,
47 ostream &textout, ostream &logout);
48
49void set_arrow_macros (const text_t &OID, const text_t &classifytype,
50 displayclass &disp, recptproto *collectproto,
51 const text_t &collection, ostream &logout);
52
53
54#endif
Note: See TracBrowser for help on using the repository browser.