- Timestamp:
- 2012-05-09T20:08:01+12:00 (12 years ago)
- Location:
- main/trunk/greenstone2/runtime-src/src
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/recpt/Makefile.in
r25238 r25560 220 220 phindbrowserclass.cpp \ 221 221 pingaction.cpp \ 222 ispersistentaction.cpp \ 222 223 basequeryaction.cpp \ 223 224 queryaction.cpp \ … … 268 269 phindbrowserclass.o \ 269 270 pingaction.o \ 271 ispersistentaction.o \ 270 272 basequeryaction.o \ 271 273 queryaction.o \ -
main/trunk/greenstone2/runtime-src/src/recpt/cgiwrapper.cpp
r24958 r25560 512 512 513 513 514 void add_all_actions(receptionist& recpt, userdbclass* udb, keydbclass* kdb )514 void add_all_actions(receptionist& recpt, userdbclass* udb, keydbclass* kdb, isPersistentEnum isPersistentVal) 515 515 { 516 516 // the list of actions. … … 535 535 #endif 536 536 537 ispersistentaction *aIsPersistentAction = new ispersistentaction(isPersistentVal); 538 recpt.add_action (aIsPersistentAction); 539 537 540 #if defined(USE_RSS) 538 541 rssaction *arssaction = new rssaction(); -
main/trunk/greenstone2/runtime-src/src/recpt/cgiwrapper.h
r22142 r25560 31 31 #include "receptionist.h" 32 32 #include "userdb.h" 33 #include "ispersistentaction.h" 33 34 34 void add_all_actions(receptionist& recpt, userdbclass* udb, keydbclass* kdb );35 void add_all_actions(receptionist& recpt, userdbclass* udb, keydbclass* kdb, isPersistentEnum isPersistentVal); 35 36 void add_all_browsers(receptionist& recpt); 36 37 -
main/trunk/greenstone2/runtime-src/src/recpt/librarymain.cpp
r22744 r25560 36 36 37 37 #include "action.h" 38 #include "ispersistentaction.h" 38 39 #include "browserclass.h" 39 40 … … 96 97 keydbclass *kdb = new keydbclass(gsdlhome); 97 98 98 add_all_actions(recpt,udb,kdb );99 add_all_actions(recpt,udb,kdb,isNotPersistent); // apache (without mod_gsdl) is not a persistent server 99 100 // Note: these actions will become invalid at the end of this function. 100 101 // => We will retrieve them from the receptionist and delete them -
main/trunk/greenstone2/runtime-src/src/recpt/mod_gsdl.cpp
r22925 r25560 84 84 85 85 #include "action.h" 86 #include "ispersistentaction.h" 86 87 #include "browserclass.h" 87 88 … … 267 268 // whatever that might be called in reality? 268 269 269 add_all_actions(recpt,udb,kdb );270 add_all_actions(recpt,udb,kdb,isPersistent); // apache is a persistent server with mod_gsdl 270 271 add_all_browsers(recpt); 271 272 -
main/trunk/greenstone2/runtime-src/src/recpt/win32.mak
r25521 r25560 272 272 phindbrowserclass.cpp \ 273 273 pingaction.cpp \ 274 ispersistentaction.cpp \ 274 275 queryaction.cpp \ 275 276 querytools.cpp \ … … 321 322 phindbrowserclass.obj \ 322 323 pingaction.obj \ 324 ispersistentaction.obj \ 323 325 queryaction.obj \ 324 326 querytools.obj \ -
main/trunk/greenstone2/runtime-src/src/w32server/cgiwrapper.cpp
r24508 r25560 60 60 #include "pageaction.h" 61 61 #include "pingaction.h" 62 #include "ispersistentaction.h" 62 63 #include "queryaction.h" 63 64 #if defined(USE_SQLITE) … … 348 349 pageaction *apageaction = NULL; 349 350 pingaction *apingaction = NULL; 351 ispersistentaction *aIsPersistentAction = NULL; 350 352 tipaction *atipaction = NULL; 351 353 queryaction *aqueryaction = NULL; … … 574 576 apingaction = new pingaction(); 575 577 recpt.add_action (apingaction); 578 } 579 580 if (aIsPersistentAction == NULL) { 581 // server.exe is persistent, so passing enum value isPersistent 582 aIsPersistentAction = new ispersistentaction(isPersistent); 583 recpt.add_action (aIsPersistentAction); 576 584 } 577 585
Note:
See TracChangeset
for help on using the changeset viewer.