Changeset 390
- Timestamp:
- 1999-07-15T18:08:55+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/librarymain.cpp
r268 r390 12 12 /* 13 13 $Log$ 14 Revision 1.8 1999/07/15 06:08:55 rjmcnab 15 Moved the adding of the actions to librarymain so that they can 16 be overriden easier. 17 14 18 Revision 1.7 1999/06/15 01:56:12 sjboddie 15 19 Got multiple collections working … … 49 53 #include "mggdbmsource.h" 50 54 #include <assert.h> 55 56 #include "action.h" 57 #include "statusaction.h" 58 #include "pageaction.h" 59 #include "pingaction.h" 60 #include "queryaction.h" 61 #include "documentaction.h" 62 #include "authenaction.h" 63 #include "usersaction.h" 64 #include "authenaction.h" 65 51 66 52 67 int main () { … … 103 118 recpt.add_protocol (&nproto); 104 119 120 // the list of actions. Note: these actions will become invalid 121 // at the end of this function. 122 statusaction astatusaction; 123 astatusaction.set_receptionist (&recpt); 124 recpt.add_action (&astatusaction); 125 126 pageaction apageaction; 127 apageaction.set_receptionist (&recpt); 128 recpt.add_action (&apageaction); 129 130 pingaction apingaction; 131 recpt.add_action (&apingaction); 132 133 queryaction aqueryaction; 134 recpt.add_action (&aqueryaction); 135 136 documentaction adocumentaction; 137 recpt.add_action (&adocumentaction); 138 139 usersaction ausersaction; 140 recpt.add_action (&ausersaction); 141 142 authenaction aauthenaction; 143 aauthenaction.set_receptionist(&recpt); 144 recpt.add_action (&aauthenaction); 145 105 146 cgiwrapper (recpt, ""); 106 147 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.