Last change
on this file since 8223 was 8182, checked in by cs025, 20 years ago |
Added OAI Server code to Greenstone
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
440 bytes
|
Line | |
---|
1 | #include "oaiaction.h"
|
---|
2 |
|
---|
3 | #include <map.h>
|
---|
4 |
|
---|
5 | typedef map<text_t, oaiaction *, lttext_t> oaiactionmap;
|
---|
6 |
|
---|
7 | class oaidispatcher
|
---|
8 | {
|
---|
9 | private:
|
---|
10 | oaiactionmap actions;
|
---|
11 | oaiconfig *configuration;
|
---|
12 | public:
|
---|
13 | oaidispatcher();
|
---|
14 | ~oaidispatcher();
|
---|
15 | void setConfiguration(oaiconfig *configuration) { this->configuration = configuration; }
|
---|
16 | void addAction(oaiaction *thisAction);
|
---|
17 | void doAction(ostream &stream, recptproto *protocol, oaiargs &args);
|
---|
18 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.