source: trunk/gsdl/src/recpt/pageaction.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: 880 bytes
Line 
1/**********************************************************************
2 *
3 * pageaction.h --
4 * Copyright (C) 1999 The New Zealand Digital Library Project
5 *
6 * PUT COPYRIGHT NOTICE HERE
7 *
8 * $Id: pageaction.h 261 1999-06-08 04:29:42Z sjboddie $
9 *
10 *********************************************************************/
11
12
13#ifndef PAGEACTION_H
14#define PAGEACTION_H
15
16
17#include "gsdlconf.h"
18#include "action.h"
19
20
21class pageaction : public action {
22
23public:
24 pageaction ();
25 virtual ~pageaction ();
26
27 text_t get_action_name () {return "p";}
28
29 bool check_cgiargs (cgiargsinfoclass &argsinfo, cgiargsclass &args,
30 ostream &logout);
31
32 void get_cgihead_info (cgiargsclass &args, response_t &response,
33 text_t &response_data, ostream &logout);
34
35 bool do_action (cgiargsclass &args, recptproto *collectproto,
36 displayclass &disp, outconvertclass &outconvert,
37 ostream &textout, ostream &logout);
38};
39
40
41#endif
Note: See TracBrowser for help on using the repository browser.