]>
Commit | Line | Data |
---|---|---|
fdc96a39 AR |
1 | |
2 | /* | |
3 | * $Id$ | |
4 | */ | |
5 | ||
7b67e5b6 AR |
6 | #ifndef SQUID__ECAP__MESSAGE_REP_H |
7 | #define SQUID__ECAP__MESSAGE_REP_H | |
fdc96a39 AR |
8 | |
9 | #include "adaptation/forward.h" | |
10 | #include <libecap/common/message.h> | |
11 | ||
12 | namespace Ecap { | |
13 | ||
14 | // Translates Squid Adaptation::Message into libecap::Message. | |
7b67e5b6 | 15 | class MessageRep: public libecap::Message |
fdc96a39 AR |
16 | { |
17 | ||
18 | public: | |
7b67e5b6 | 19 | MessageRep(Adaptation::Message &aMessage): theMessage(aMessage) {} |
fdc96a39 AR |
20 | |
21 | private: | |
22 | Adaptation::Message &theMessage; // the message being translated to libecap | |
23 | }; | |
24 | ||
25 | } // namespace Ecap; | |
26 | ||
7b67e5b6 | 27 | #endif /* SQUID__E_CAP__MESSAGE_REP_H */ |