source: trunk/gsdl/src/recpt/documentaction.h@ 261

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

added argsinfo to the call to check_cgiargs to make it easy to set
args to their default if they're found to be screwed up

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1/**********************************************************************
2 *
3 * documentaction.h --
4 * Copyright (C) 1999 The New Zealand Digital Library Project
5 *
6 * PUT COPYRIGHT NOTICE HERE
7 *
8 * $Id: documentaction.h 261 1999-06-08 04:29:42Z sjboddie $
9 *
10 *********************************************************************/
11
12
13#ifndef DOCUMENTACTION_H
14#define DOCUMENTACTION_H
15
16#include "action.h"
17#include "gsdlconf.h"
18
19class documentaction : public action {
20
21
22public:
23 documentaction ();
24 virtual ~documentaction ();
25
26 bool init (ostream &logout);
27
28 text_t get_action_name () {return "d";}
29
30 bool check_cgiargs (cgiargsinfoclass &argsinfo, cgiargsclass &args,
31 ostream &logout);
32
33 void get_cgihead_info (cgiargsclass &args, response_t &response,
34 text_t &response_data, ostream &logout);
35
36 void define_external_macros (displayclass &disp, cgiargsclass &args,
37 recptproto *collectproto, ostream &logout);
38
39 void define_internal_macros (displayclass &disp, cgiargsclass &args,
40 recptproto *collectproto, ostream &logout);
41
42 bool do_action (cgiargsclass &args, recptproto *collectproto,
43 displayclass &disp, outconvertclass &outconvert,
44 ostream &textout, ostream &logout);
45
46};
47
48
49
50#endif
51
52
Note: See TracBrowser for help on using the repository browser.