Changeset 754 for trunk/gsdl
- Timestamp:
- 1999-11-02T10:10:57+13:00 (25 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/action.cpp
r540 r754 28 28 /* 29 29 $Log$ 30 Revision 1.18 1999/11/01 21:10:57 sjboddie 31 chnaged arguments passed to many functions 32 30 33 Revision 1.17 1999/09/07 23:04:03 rjmcnab 31 34 got rid of some compiler warnings … … 109 112 // define all the macros which are related to pages generated 110 113 // by this action 111 void action::define_internal_macros (const ColInfoResponse_t &/*collectinfo*/, displayclass &/*disp*/, 112 cgiargsclass &/*args*/, recptproto * /*collectproto*/, 113 ostream &/*logout*/) { 114 void action::define_internal_macros (displayclass &/*disp*/, cgiargsclass &/*args*/, 115 recptprotolistclass * /*protos*/, ostream &/*logout*/) { 114 116 } 115 117 … … 165 167 // contains content then reponse_data contains the content-type. 166 168 // Note that images can now be produced by the receptionist. 167 void action::get_cgihead_info (cgiargsclass &/*args*/, response_t &response, 168 text_t &response_data, ostream &/*logout*/) { 169 void action::get_cgihead_info (cgiargsclass &/*args*/, recptprotolistclass * /*protos*/, 170 response_t &response, text_t &response_data, 171 ostream &/*logout*/) { 169 172 response = location; 170 173 response_data = "http://www.nzdl.org"; … … 181 184 // define all the macros which might be used by other actions 182 185 // to produce pages. These macros should be well documented. 183 void action::define_external_macros (const ColInfoResponse_t &/*collectinfo*/, displayclass &/*disp*/, 184 cgiargsclass &/*args*/, recptproto * /*collectproto*/, 185 ostream &/*logout*/) { 186 void action::define_external_macros (displayclass &/*disp*/, cgiargsclass &/*args*/, 187 recptprotolistclass * /*protos*/, ostream &/*logout*/) { 186 188 } 187 189 188 190 // returns false if there was an error which prevented the action 189 191 // from outputing anything. 190 bool action::do_action (cgiargsclass &/*args*/, const ColInfoResponse_t &/*collectinfo*/,191 recptproto * /*collectproto*/, displayclass &/*disp*/,192 bool action::do_action (cgiargsclass &/*args*/, recptprotolistclass * /*protos*/, 193 browsermapclass * /*browsers*/, displayclass &/*disp*/, 192 194 outconvertclass &/*outconvert*/, ostream &/*textout*/, 193 195 ostream &/*logout*/) { -
trunk/gsdl/src/recpt/action.h
r533 r754 35 35 #include "display.h" 36 36 #include "recptproto.h" 37 #include "browserclass.h" 37 38 38 39 #if defined(GSDL_USE_OBJECTSPACE) … … 89 90 // contains content then reponse_data contains the content-type. 90 91 // Note that images can now be produced by the receptionist. 91 virtual void get_cgihead_info (cgiargsclass &args, response_t &response, 92 text_t &response_data, ostream &logout); 92 virtual void get_cgihead_info (cgiargsclass &args, recptprotolistclass *protos, 93 response_t &response, text_t &response_data, 94 ostream &logout); 93 95 94 96 // uses_display should return true if the receptionist should return … … 99 101 // define all the macros which are related to pages generated 100 102 // by this action 101 virtual void define_internal_macros (const ColInfoResponse_t &collectinfo, displayclass &disp, 102 cgiargsclass &args, recptproto *collectproto, 103 ostream &logout); 103 virtual void define_internal_macros (displayclass &disp, cgiargsclass &args, 104 recptprotolistclass *protos, ostream &logout); 104 105 105 106 // define all the macros which might be used by other actions 106 107 // to produce pages. These macros should be well documented. 107 virtual void define_external_macros (const ColInfoResponse_t &collectinfo, displayclass &disp, 108 cgiargsclass &args, recptproto *collectproto, 109 ostream &logout); 108 virtual void define_external_macros (displayclass &disp, cgiargsclass &args, 109 recptprotolistclass *protos, ostream &logout); 110 110 111 111 // returns false if there was an error which prevented the action 112 112 // from outputing anything. 113 virtual bool do_action (cgiargsclass &args, const ColInfoResponse_t &collectinfo,114 recptproto *collectproto, displayclass &disp,113 virtual bool do_action (cgiargsclass &args, recptprotolistclass *protos, 114 browsermapclass *browsers, displayclass &disp, 115 115 outconvertclass &outconvert, ostream &textout, 116 116 ostream &logout);
Note:
See TracChangeset
for help on using the changeset viewer.