source: trunk/gsdl/src/recpt/buildaction.h@ 822

Last change on this file since 822 was 822, checked in by davidb, 24 years ago

Added viewable log for collection building.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 KB
Line 
1/**********************************************************************
2 *
3 * buildaction.h -- building collections
4 * Copyright (C) 1999 DigiLib Systems Limited, New Zealand
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 *********************************************************************/
25
26
27#ifndef BUILDACTION_H
28#define BUILDACTION_H
29
30#include "action.h"
31#include "receptionist.h"
32
33class buildaction : public action {
34protected:
35 receptionist *recpt;
36
37public:
38 buildaction ();
39 virtual ~buildaction () {}
40
41 text_t get_action_name () {return "bc";}
42
43 void set_receptionist (receptionist *therecpt) {recpt=therecpt;}
44
45 bool check_cgiargs (cgiargsinfoclass &argsinfo, cgiargsclass &args,
46 ostream &logout);
47
48
49 void get_cgihead_info (cgiargsclass &args, recptprotolistclass *protos,
50 response_t &response,text_t &response_data,
51 ostream &logout);
52
53 void define_internal_macros (displayclass &disp, cgiargsclass &args,
54 recptprotolistclass *protos, ostream &logout);
55
56 bool do_action (cgiargsclass &args, recptprotolistclass *protos,
57 browsermapclass *browsers, displayclass &disp,
58 outconvertclass &outconvert, ostream &textout,
59 ostream &logout);
60
61protected:
62 bool do_newcol (cgiargsclass &args, displayclass &disp,
63 outconvertclass &outconvert, ostream &textout,
64 ostream &logout);
65
66 bool do_editcol (cgiargsclass &args, displayclass &disp,
67 outconvertclass &outconvert, ostream &textout,
68 ostream &logout);
69
70 bool do_buildcol (cgiargsclass &args, displayclass &disp,
71 outconvertclass &outconvert, ostream &textout,
72 ostream &logout);
73
74 bool do_buildstatus (cgiargsclass &args, displayclass &disp,
75 outconvertclass &outconvert, ostream &textout,
76 ostream &logout);
77
78 bool do_delcol (cgiargsclass &args, displayclass &disp,
79 outconvertclass &outconvert, ostream &textout,
80 ostream &logout);
81
82 bool do_collog (cgiargsclass &args, displayclass &disp,
83 outconvertclass &outconvert, ostream &textout,
84 ostream &logout);
85
86 bool do_mess (cgiargsclass &args, displayclass &disp,
87 outconvertclass &outconvert, ostream &textout,
88 ostream &logout);
89
90};
91
92
93#endif
Note: See TracBrowser for help on using the repository browser.