| 77 | }; |
| 78 | |
| 79 | class IMAPConnectionLogger : public Object, public ConnectionLogger { |
| 80 | public: |
| 81 | IMAPConnectionLogger(IMAPAsyncConnection * connection) { |
| 82 | mConnection = connection; |
| 83 | } |
| 84 | |
| 85 | virtual ~IMAPConnectionLogger() { |
| 86 | } |
| 87 | |
| 88 | virtual void log(void * sender, ConnectionLogType logType, Data * buffer) |
| 89 | { |
| 90 | mConnection->logConnection(logType, buffer); |
| 91 | } |
| 92 | |
| 93 | private: |
| 94 | IMAPAsyncConnection * mConnection; |
| 95 | }; |
| 96 | |
| 97 | } |
| 98 |
nothing calls this directly
no outgoing calls
no test coverage detected