Changeset 754 for trunk/gsdl


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

chnaged arguments passed to many functions

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

Legend:

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

    r540 r754  
    2828/*
    2929   $Log$
     30   Revision 1.18  1999/11/01 21:10:57  sjboddie
     31   chnaged arguments passed to many functions
     32
    3033   Revision 1.17  1999/09/07 23:04:03  rjmcnab
    3134   got rid of some compiler warnings
     
    109112// define all the macros which are related to pages generated
    110113// by this action
    111 void action::define_internal_macros (const ColInfoResponse_t &/*collectinfo*/, displayclass &/*disp*/,
    112                      cgiargsclass &/*args*/, recptproto * /*collectproto*/,
    113                      ostream &/*logout*/) {
     114void action::define_internal_macros (displayclass &/*disp*/, cgiargsclass &/*args*/,
     115                     recptprotolistclass * /*protos*/, ostream &/*logout*/) {
    114116}
    115117
     
    165167// contains content then reponse_data contains the content-type.
    166168// 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*/) {
     169void action::get_cgihead_info (cgiargsclass &/*args*/, recptprotolistclass * /*protos*/,
     170                   response_t &response, text_t &response_data,
     171                   ostream &/*logout*/) {
    169172  response = location;
    170173  response_data = "http://www.nzdl.org";
     
    181184// define all the macros which might be used by other actions
    182185// 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*/) {
     186void action::define_external_macros (displayclass &/*disp*/, cgiargsclass &/*args*/,
     187                     recptprotolistclass * /*protos*/, ostream &/*logout*/) {
    186188}
    187189
    188190// returns false if there was an error which prevented the action
    189191// from outputing anything.
    190 bool action::do_action (cgiargsclass &/*args*/, const ColInfoResponse_t &/*collectinfo*/,
    191             recptproto * /*collectproto*/, displayclass &/*disp*/,
     192bool action::do_action (cgiargsclass &/*args*/, recptprotolistclass * /*protos*/,
     193            browsermapclass * /*browsers*/, displayclass &/*disp*/,
    192194            outconvertclass &/*outconvert*/, ostream &/*textout*/,
    193195            ostream &/*logout*/) {
  • trunk/gsdl/src/recpt/action.h

    r533 r754  
    3535#include "display.h"
    3636#include "recptproto.h"
     37#include "browserclass.h"
    3738
    3839#if defined(GSDL_USE_OBJECTSPACE)
     
    8990  // contains content then reponse_data contains the content-type.
    9091  // 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);
    9395 
    9496  // uses_display should return true if the receptionist should return
     
    99101  // define all the macros which are related to pages generated
    100102  // 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);
    104105
    105106  // define all the macros which might be used by other actions
    106107  // 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);
    110110
    111111  // returns false if there was an error which prevented the action
    112112  // 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,
    115115              outconvertclass &outconvert, ostream &textout,
    116116              ostream &logout);
Note: See TracChangeset for help on using the changeset viewer.