Changeset 389 for trunk/gsdl/src/recpt


Ignore:
Timestamp:
1999-07-15T18:03:15+12:00 (25 years ago)
Author:
rjmcnab
Message:

Moved the adding of the actions to librarymain so that they can be
overriden easily.

File:
1 edited

Legend:

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

    r387 r389  
    1212/*
    1313   $Log$
     14   Revision 1.17  1999/07/15 06:03:15  rjmcnab
     15   Moved the adding of the actions to librarymain so that they can be
     16   overriden easily.
     17
    1418   Revision 1.16  1999/07/14 08:31:05  rjmcnab
    1519   Fixed a small bug in the POST implementation.
     
    8892#include "cgiwrapper.h"
    8993#include "recptconfig.h"
    90 #include "action.h"
    91 #include "statusaction.h"
    92 #include "pageaction.h"
    93 #include "pingaction.h"
    94 #include "queryaction.h"
    95 #include "documentaction.h"
    96 #include "authenaction.h"
    97 #include "usersaction.h"
    9894#include <stdlib.h>
    9995
     
    359355  text_t errorpage;
    360356  outconvertclass text_t2ascii;
    361 
    362   // the list of actions. Note: these actions will become invalid
    363   // at the end of this function.
    364   statusaction astatusaction;
    365   astatusaction.set_receptionist (&recpt);
    366   recpt.add_action (&astatusaction);
    367 
    368   pageaction apageaction;
    369   apageaction.set_receptionist (&recpt);
    370   recpt.add_action (&apageaction);
    371 
    372   pingaction apingaction;
    373   recpt.add_action (&apingaction);
    374 
    375   queryaction aqueryaction;
    376   recpt.add_action (&aqueryaction);
    377 
    378   documentaction adocumentaction;
    379   recpt.add_action (&adocumentaction);
    380 
    381   usersaction ausersaction;
    382   recpt.add_action (&ausersaction);
    383 
    384   authenaction aauthenaction;
    385   aauthenaction.set_receptionist(&recpt);
    386   recpt.add_action (&aauthenaction);
    387357
    388358  // set defaults
Note: See TracChangeset for help on using the changeset viewer.