d933eae338
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
23 lines
539 B
C++
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
|