source: main/tags/2.80/gsdl/src/oaiservr/oaidispatcher.h@ 24527

Last change on this file since 24527 was 8241, checked in by kjdon, 20 years ago

some changes to get it compiling on windows

  • Property svn:keywords set to Author Date Id Revision
File size: 564 bytes
Line 
1#include "oaiaction.h"
2
3#if defined(GSDL_USE_OBJECTSPACE)
4# include <ospace\std\map>
5#elif defined(GSDL_USE_STL_H)
6# include <map.h>
7#else
8# include <map>
9#endif
10
11typedef map<text_t, oaiaction *, lttext_t> oaiactionmap;
12
13class oaidispatcher
14{
15 private:
16 oaiactionmap actions;
17 oaiconfig *configuration;
18 public:
19 oaidispatcher();
20 ~oaidispatcher();
21 void setConfiguration(oaiconfig *configuration) { this->configuration = configuration; }
22 void addAction(oaiaction *thisAction);
23 void doAction(ostream &stream, recptproto *protocol, oaiargs &args);
24};
Note: See TracBrowser for help on using the repository browser.