source: trunk/gsdl/src/recpt/queryaction.h@ 241

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

altered receptionist slightly so it now passes *collectproto to
define_internal_macros and define_external_macros - need it
for browseaction

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