stk-code_catmod/dev/SocketsBase/protocol_manager.hpp
hilnius d933eae338 base commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-16 23:54:02 +00:00

23 lines
539 B
C++

#ifndef PROTOCOL_MANAGER_HPP
#define PROTOCOL_MANAGER_HPP
#include "protocol_listener.hpp"
class ProtocolManager : public ProtocolListener
{
public:
ProtocolManager();
virtual ~ProtocolManager();
virtual void messageReceived(uint8_t* data);
virtual void runProtocol(Protocol* protocol);
virtual void stopProtocol(Protocol* protocol);
virtual void update();
protected:
std::vector<uint8_t*> m_messagesToProcess;
};
#endif // PROTOCOL_MANAGER_HPP