Changeset 206
- Timestamp:
- 1999-03-25T15:06:45+12:00 (25 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/action.cpp
r177 r206 12 12 /* 13 13 $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 14 20 Revision 1.9 1999/02/28 23:16:00 rjmcnab 15 21 … … 64 70 // by this action 65 71 void action::define_internal_macros (displayclass &/*disp*/, cgiargsclass &/*args*/, 66 ostream &/*logout*/) {72 recptproto */*collectproto*/, ostream &/*logout*/) { 67 73 } 68 74 … … 131 137 // to produce pages. These macros should be well documented. 132 138 void action::define_external_macros (displayclass &/*disp*/, cgiargsclass &/*args*/, 133 ostream &/*logout*/) {139 recptproto */*collectproto*/, ostream &/*logout*/) { 134 140 } 135 141 -
trunk/gsdl/src/recpt/action.h
r173 r206 73 73 // by this action 74 74 virtual void define_internal_macros (displayclass &disp, cgiargsclass &args, 75 ostream &logout);75 recptproto *collectproto, ostream &logout); 76 76 77 77 // define all the macros which might be used by other actions 78 78 // to produce pages. These macros should be well documented. 79 79 virtual void define_external_macros (displayclass &disp, cgiargsclass &args, 80 ostream &logout);80 recptproto *collectproto, ostream &logout); 81 81 82 82 // returns false if there was an error which prevented the action -
trunk/gsdl/src/recpt/queryaction.cpp
r183 r206 12 12 /* 13 13 $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 14 20 Revision 1.2 1999/03/03 20:26:50 rjmcnab 15 21 … … 159 165 160 166 void queryaction::define_internal_macros (displayclass &/*disp*/, cgiargsclass &/*args*/, 161 ostream &/*logout*/) {167 recptproto */*collectproto*/, ostream &/*logout*/) { 162 168 } 163 169 164 170 void queryaction::define_external_macros (displayclass &/*disp*/, cgiargsclass &/*args*/, 165 ostream &/*logout*/) {171 recptproto */*collectproto*/, ostream &/*logout*/) { 166 172 } 167 173 -
trunk/gsdl/src/recpt/queryaction.h
r174 r206 33 33 34 34 void define_internal_macros (displayclass &disp, cgiargsclass &args, 35 ostream &logout);35 recptproto *collectproto, ostream &logout); 36 36 void define_external_macros (displayclass &disp, cgiargsclass &args, 37 ostream &logout);37 recptproto *collectproto, ostream &logout); 38 38 39 39 bool do_action (cgiargsclass &args, recptproto *collectproto, -
trunk/gsdl/src/recpt/receptionist.cpp
r189 r206 12 12 /* 13 13 $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 14 20 Revision 1.10 1999/03/05 03:53:54 sjboddie 15 21 … … 556 562 // prepare_page sets up page parameters, sets display macros 557 563 // and opens the page ready for output 558 void receptionist::prepare_page (action *a, cgiargsclass &args, recptproto * /*collectproto*/,564 void receptionist::prepare_page (action *a, cgiargsclass &args, recptproto *collectproto, 559 565 ostream &logout) { 560 566 … … 593 599 assert ((*actionhere).second.a != NULL); 594 600 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); 596 602 actionhere++; 597 603 } … … 599 605 600 606 // define internal macros for the current action 601 a->define_internal_macros (disp, args, logout);607 a->define_internal_macros (disp, args, collectproto, logout); 602 608 } 603 609
Note:
See TracChangeset
for help on using the changeset viewer.