Last change
on this file since 160 was 160, checked in by sjboddie, 25 years ago |
Added page action
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
998 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 160 1999-02-12 02:40:18Z sjboddie $
|
---|
9 | *
|
---|
10 | *********************************************************************/
|
---|
11 |
|
---|
12 |
|
---|
13 | #ifndef PAGEACTION_H
|
---|
14 | #define PAGEACTION_H
|
---|
15 |
|
---|
16 |
|
---|
17 | #include "gsdlconf.h"
|
---|
18 | #include "action.h"
|
---|
19 | #include "receptionist.h"
|
---|
20 |
|
---|
21 |
|
---|
22 | class pageaction : public action {
|
---|
23 | protected:
|
---|
24 | bool disabled;
|
---|
25 | receptionist *recpt;
|
---|
26 |
|
---|
27 | public:
|
---|
28 | pageaction ();
|
---|
29 | virtual ~pageaction ();
|
---|
30 |
|
---|
31 | text_t get_action_name () {return "p";}
|
---|
32 | void set_receptionist (receptionist *therecpt) {recpt=therecpt;}
|
---|
33 | bool check_cgiargs (cgiargsclass &args, ostream &logout);
|
---|
34 | void get_cgihead_info (cgiargsclass &args, response_t &response,
|
---|
35 | text_t &response_data, ostream &logout);
|
---|
36 | bool do_action (cgiargsclass &args, outconvertclass &outconvert,
|
---|
37 | ostream &textout, ostream &logout);
|
---|
38 | void configure (const text_t &key, const text_tarray &cfgline);
|
---|
39 | };
|
---|
40 |
|
---|
41 |
|
---|
42 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.