Ignore:
Timestamp:
1999-07-30T14:24:45+12:00 (25 years ago)
Author:
sjboddie
Message:

added collectinfo argument to some functions

File:
1 edited

Legend:

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

    r284 r421  
    1212/*
    1313   $Log$
     14   Revision 1.8  1999/07/30 02:24:44  sjboddie
     15   added collectinfo argument to some functions
     16
    1417   Revision 1.7  1999/06/24 05:12:24  sjboddie
    1518   lots of small changes
     
    8689
    8790
    88 void pageaction::define_internal_macros (displayclass &disp, cgiargsclass &args,
    89                      recptproto */*collectproto*/, ostream &logout) {
     91// define all the macros which might be used by other actions
     92// to produce pages.
     93void pageaction::define_external_macros (const ColInfoResponse_t &/*collectinfo*/, displayclass &/*disp*/,
     94                     cgiargsclass &/*args*/, recptproto */*collectproto*/,
     95                     ostream &/*logout*/) {
     96}
     97
     98
     99void pageaction::define_internal_macros (const ColInfoResponse_t &/*collectinfo*/, displayclass &disp,
     100                     cgiargsclass &args, recptproto */*collectproto*/,
     101                     ostream &logout) {
    90102
    91103  // define_internal_macros sets the following macros:
     
    128140        if (err == noError) {
    129141
    130           homeextra += "<dt><a href=\"_httppagex_(about)&c=" + *collist_here + "\">"
     142          homeextra += "<dt><a href=\"_httpquery_&c=" + *collist_here + "\">"
    131143        + *collist_here + "</a></dt>\n";
    132144          homeextra += "<dd>";
     
    147159}
    148160
    149 bool pageaction::do_action (cgiargsclass &args, recptproto */*collectproto*/,
    150                 displayclass &disp, outconvertclass &outconvert,
    151                 ostream &textout, ostream &/*logout*/) {
     161bool pageaction::do_action (cgiargsclass &args, const ColInfoResponse_t &/*collectinfo*/,
     162                recptproto */*collectproto*/, displayclass &disp,
     163                outconvertclass &outconvert, ostream &textout,
     164                ostream &/*logout*/) {
    152165
    153166  text_t &arg_p = args["p"];
Note: See TracChangeset for help on using the changeset viewer.