Last change
on this file since 8241 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
|
Rev | Line | |
---|
[8182] | 1 | #include "oaiaction.h"
|
---|
| 2 |
|
---|
[8241] | 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
|
---|
[8182] | 10 |
|
---|
| 11 | typedef map<text_t, oaiaction *, lttext_t> oaiactionmap;
|
---|
| 12 |
|
---|
| 13 | class 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.