| Revision: | 1.1 |
| Committed: | Sun Oct 24 22:24:48 2010 UTC (15 years, 11 months ago) by sf-pippijn |
| Content type: | text/plain |
| Branch: | MAIN |
| CVS Tags: | HEAD |
| Log Message: | added a command line client (no curses) |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | sf-pippijn | 1.1 | #pragma once |
| 2 | |||
| 3 | #include "communicator.h" | ||
| 4 | #include "interface/message_handler.h" | ||
| 5 | #include "interface/packet_handler.h" | ||
| 6 | |||
| 7 | struct client | ||
| 8 | : interface::packet_handler | ||
| 9 | { | ||
| 10 | client (communicator &comm, interface::message_handler &msgh); | ||
| 11 | |||
| 12 | private: | ||
| 13 | virtual void receive (std::string const &msg); | ||
| 14 | |||
| 15 | communicator &comm; | ||
| 16 | interface::message_handler &msgh; | ||
| 17 | }; |