stun update

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hilnius 2013-06-17 12:46:42 +00:00
parent d933eae338
commit 2469902478
4 changed files with 0 additions and 67 deletions

View File

@ -1,9 +0,0 @@
#include "packet.hpp"
Packet::Packet()
{
}
Packet::~Packet()
{
}

View File

@ -1,23 +0,0 @@
#ifndef PACKET_HPP
#define PACKET_HPP
#include <string>
#include <vector>
class Packet
{
public:
Packet();
virtual ~Packet();
virtual std::string getData();
protected:
char* m_packetHeader;
unsigned int m_packetHeaderSize;
unsigned int m_packetSize;
Packet* m_parent;
std::vector<Packet*> m_children;
};
#endif // PACKET_HPP

View File

@ -1,9 +0,0 @@
#include "protocol_listener.hpp"
ProtocolListener::ProtocolListener()
{
}
ProtocolListener::~ProtocolListener()
{
}

View File

@ -1,26 +0,0 @@
#ifndef PROTOCOL_LISTENER_HPP
#define PROTOCOL_LISTENER_HPP
#include <vector>
#include <stdint.h>
class Protocol;
class ProtocolListener
{
public:
ProtocolListener();
virtual ~ProtocolListener();
virtual void messageReceived(uint8_t* data) = 0;
virtual void runProtocol(Protocol* protocol) = 0;
virtual void stopProtocol(Protocol* protocol) = 0;
virtual void update() = 0;
protected:
std::vector<Protocol*> m_protocols;
};
#endif // PROTOCOL_LISTENER_HPP