Changeset 756


Ignore:
Timestamp:
1999-11-02T10:17:31+13:00 (25 years ago)
Author:
sjboddie
Message:

changes to arguments of many functions

Location:
trunk/gsdl/src/recpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/extlinkaction.cpp

    r723 r756  
    5757  argsinfo.addarginfo (NULL, arg_ainfo);
    5858
    59 
    6059  arg_ainfo.shortname = "href";
    6160  arg_ainfo.longname = "URL of external link";
     
    6463  arg_ainfo.argdefault = "";
    6564  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;
    6673  argsinfo.addarginfo (NULL, arg_ainfo);
    6774
     
    7380
    7481
    75 void extlinkaction::get_cgihead_info (cgiargsclass &args, response_t &response,
    76                      text_t &response_data, ostream &/*logout*/)
     82void extlinkaction::get_cgihead_info (cgiargsclass &args, recptprotolistclass * /*protos*/,
     83                      response_t &response, text_t &response_data,
     84                      ostream &/*logout*/)
    7785{
    7886  if (args["el"] == "direct")
     
    9098
    9199
    92 void extlinkaction::define_internal_macros (const ColInfoResponse_t &/*collectinfo*/, displayclass &disp,
    93                          cgiargsclass &args, recptproto *collectproto,
    94                          ostream &/*logout*/) {
     100void extlinkaction::define_internal_macros (displayclass &disp, cgiargsclass &args,
     101                        recptprotolistclass * /*protos*/,
     102                        ostream &/*logout*/) {
    95103 
    96104  // define_internal_macros sets the following macros:
     
    98106  // _nexturl_             link to external page
    99107  // _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;
    103108 
    104109  disp.setmacro("nexturl", "extlink", args["href"]);
     
    107112
    108113
    109 bool extlinkaction::do_action (cgiargsclass &args, const ColInfoResponse_t &/*collectinfo*/,
    110                             recptproto * /*collectproto*/, displayclass &disp,
    111                             outconvertclass &outconvert, ostream &textout,
    112                             ostream &/*logout*/) {
     114bool extlinkaction::do_action (cgiargsclass &args, recptprotolistclass * /*protos*/,
     115                   browsermapclass * /*browsers*/, displayclass &disp,
     116                   outconvertclass &outconvert, ostream &textout,
     117                   ostream &/*logout*/) {
    113118
    114119  if (args["el"] != "direct")
  • trunk/gsdl/src/recpt/extlinkaction.h

    r723 r756  
    3838
    3939  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);
    4243
    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,
    4546                   ostream &logout);
    4647
    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,
    5051          ostream &logout);
    5152
Note: See TracChangeset for help on using the changeset viewer.