Changeset 206


Ignore:
Timestamp:
1999-03-25T15:06:45+12:00 (25 years ago)
Author:
sjboddie
Message:

altered receptionist slightly so it now passes *collectproto to
define_internal_macros and define_external_macros - need it
for browseaction

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

Legend:

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

    r177 r206  
    1212/*
    1313   $Log$
     14   Revision 1.10  1999/03/25 03:06:44  sjboddie
     15
     16   altered receptionist slightly so it now passes *collectproto to
     17   define_internal_macros and define_external_macros - need it
     18   for browseaction
     19
    1420   Revision 1.9  1999/02/28 23:16:00  rjmcnab
    1521
     
    6470// by this action
    6571void action::define_internal_macros (displayclass &/*disp*/, cgiargsclass &/*args*/,
    66                      ostream &/*logout*/) {
     72                     recptproto */*collectproto*/, ostream &/*logout*/) {
    6773}
    6874
     
    131137// to produce pages. These macros should be well documented.
    132138void action::define_external_macros (displayclass &/*disp*/, cgiargsclass &/*args*/,
    133                      ostream &/*logout*/) {
     139                     recptproto */*collectproto*/, ostream &/*logout*/) {
    134140}
    135141
  • trunk/gsdl/src/recpt/action.h

    r173 r206  
    7373  // by this action
    7474  virtual void define_internal_macros (displayclass &disp, cgiargsclass &args,
    75                        ostream &logout);
     75                       recptproto *collectproto, ostream &logout);
    7676
    7777  // define all the macros which might be used by other actions
    7878  // to produce pages. These macros should be well documented.
    7979  virtual void define_external_macros (displayclass &disp, cgiargsclass &args,
    80                        ostream &logout);
     80                       recptproto *collectproto, ostream &logout);
    8181
    8282  // returns false if there was an error which prevented the action
  • trunk/gsdl/src/recpt/queryaction.cpp

    r183 r206  
    1212/*
    1313   $Log$
     14   Revision 1.3  1999/03/25 03:06:45  sjboddie
     15
     16   altered receptionist slightly so it now passes *collectproto to
     17   define_internal_macros and define_external_macros - need it
     18   for browseaction
     19
    1420   Revision 1.2  1999/03/03 20:26:50  rjmcnab
    1521
     
    159165
    160166void queryaction::define_internal_macros (displayclass &/*disp*/, cgiargsclass &/*args*/,
    161                       ostream &/*logout*/) {
     167                      recptproto */*collectproto*/, ostream &/*logout*/) {
    162168}
    163169
    164170void queryaction::define_external_macros (displayclass &/*disp*/, cgiargsclass &/*args*/,
    165                       ostream &/*logout*/) {
     171                      recptproto */*collectproto*/, ostream &/*logout*/) {
    166172}
    167173
  • trunk/gsdl/src/recpt/queryaction.h

    r174 r206  
    3333 
    3434  void define_internal_macros (displayclass &disp, cgiargsclass &args,
    35                    ostream &logout);
     35                   recptproto *collectproto, ostream &logout);
    3636  void define_external_macros (displayclass &disp, cgiargsclass &args,
    37                    ostream &logout);
     37                   recptproto *collectproto, ostream &logout);
    3838 
    3939  bool do_action (cgiargsclass &args, recptproto *collectproto,
  • trunk/gsdl/src/recpt/receptionist.cpp

    r189 r206  
    1212/*
    1313   $Log$
     14   Revision 1.11  1999/03/25 03:06:43  sjboddie
     15
     16   altered receptionist slightly so it now passes *collectproto to
     17   define_internal_macros and define_external_macros - need it
     18   for browseaction
     19
    1420   Revision 1.10  1999/03/05 03:53:54  sjboddie
    1521
     
    556562// prepare_page sets up page parameters, sets display macros
    557563// and opens the page ready for output
    558 void receptionist::prepare_page (action *a, cgiargsclass &args, recptproto */*collectproto*/,
     564void receptionist::prepare_page (action *a, cgiargsclass &args, recptproto *collectproto,
    559565                 ostream &logout) {
    560566 
     
    593599    assert ((*actionhere).second.a != NULL);
    594600    if ((*actionhere).second.a != NULL)
    595       (*actionhere).second.a->define_external_macros (disp, args, logout);
     601      (*actionhere).second.a->define_external_macros (disp, args, collectproto, logout);
    596602    actionhere++;
    597603  }
     
    599605
    600606  // define internal macros for the current action
    601   a->define_internal_macros (disp, args, logout);
     607  a->define_internal_macros (disp, args, collectproto, logout);
    602608}
    603609
Note: See TracChangeset for help on using the changeset viewer.