Changeset 756
- Timestamp:
- 1999-11-02T10:17:31+13:00 (25 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/extlinkaction.cpp
r723 r756 57 57 argsinfo.addarginfo (NULL, arg_ainfo); 58 58 59 60 59 arg_ainfo.shortname = "href"; 61 60 arg_ainfo.longname = "URL of external link"; … … 64 63 arg_ainfo.argdefault = ""; 65 64 arg_ainfo.savedarginfo = cgiarginfo::can; 65 argsinfo.addarginfo (NULL, arg_ainfo); 66 67 arg_ainfo.shortname = "rl"; 68 arg_ainfo.longname = "is relative link"; 69 arg_ainfo.multiplechar = false; 70 arg_ainfo.defaultstatus = cgiarginfo::none; 71 arg_ainfo.argdefault = "0"; 72 arg_ainfo.savedarginfo = cgiarginfo::mustnot; 66 73 argsinfo.addarginfo (NULL, arg_ainfo); 67 74 … … 73 80 74 81 75 void extlinkaction::get_cgihead_info (cgiargsclass &args, response_t &response, 76 text_t &response_data, ostream &/*logout*/) 82 void extlinkaction::get_cgihead_info (cgiargsclass &args, recptprotolistclass * /*protos*/, 83 response_t &response, text_t &response_data, 84 ostream &/*logout*/) 77 85 { 78 86 if (args["el"] == "direct") … … 90 98 91 99 92 void extlinkaction::define_internal_macros ( const ColInfoResponse_t &/*collectinfo*/, displayclass &disp,93 cgiargsclass &args, recptproto *collectproto,94 100 void extlinkaction::define_internal_macros (displayclass &disp, cgiargsclass &args, 101 recptprotolistclass * /*protos*/, 102 ostream &/*logout*/) { 95 103 96 104 // define_internal_macros sets the following macros: … … 98 106 // _nexturl_ link to external page 99 107 // _prevdoc_ link to previous document 100 101 // can't do anything if collectproto is null (i.e. no collection was specified)102 if (collectproto == NULL) return;103 108 104 109 disp.setmacro("nexturl", "extlink", args["href"]); … … 107 112 108 113 109 bool extlinkaction::do_action (cgiargsclass &args, const ColInfoResponse_t &/*collectinfo*/,110 recptproto * /*collectproto*/, displayclass &disp,111 112 114 bool extlinkaction::do_action (cgiargsclass &args, recptprotolistclass * /*protos*/, 115 browsermapclass * /*browsers*/, displayclass &disp, 116 outconvertclass &outconvert, ostream &textout, 117 ostream &/*logout*/) { 113 118 114 119 if (args["el"] != "direct") -
trunk/gsdl/src/recpt/extlinkaction.h
r723 r756 38 38 39 39 text_t get_action_name () {return "extlink";} 40 void get_cgihead_info (cgiargsclass &args, response_t &response, 41 text_t &response_data, ostream &logout); 40 void get_cgihead_info (cgiargsclass &args, recptprotolistclass *protos, 41 response_t &response, text_t &response_data, 42 ostream &logout); 42 43 43 void define_internal_macros ( const ColInfoResponse_t &collectinfo, displayclass &disp,44 cgiargsclass &args, recptproto *collectproto,44 void define_internal_macros (displayclass &disp, cgiargsclass &args, 45 recptprotolistclass *protos, 45 46 ostream &logout); 46 47 47 bool do_action (cgiargsclass &args, const ColInfoResponse_t &collectinfo,48 recptproto *collectproto, displayclass &disp,49 outconvertclass &outconvert, ostream &textout, 48 bool do_action (cgiargsclass &args, recptprotolistclass *protos, 49 browsermapclass *browsers, displayclass &disp, 50 outconvertclass &outconvert, ostream &textout, 50 51 ostream &logout); 51 52
Note:
See TracChangeset
for help on using the changeset viewer.