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 |
|
---|
19 | class documentaction : public action {
|
---|
20 |
|
---|
21 |
|
---|
22 | public:
|
---|
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 |
|
---|