2013-11-21 13:40:52 +01:00
|
|
|
#ifndef NETWORK_DEPENDENCIES_I_TRANSLATE
|
|
|
|
#define NETWORK_DEPENDENCIES_I_TRANSLATE
|
|
|
|
|
2013-11-25 11:39:38 +01:00
|
|
|
//////////////////////////////////
|
|
|
|
// Created by Sam Svensson 2013 //
|
|
|
|
//////////////////////////////////
|
|
|
|
|
2013-11-21 13:40:52 +01:00
|
|
|
namespace Oyster
|
|
|
|
{
|
|
|
|
namespace Network
|
|
|
|
{
|
2013-11-27 11:01:22 +01:00
|
|
|
class OysterByte;
|
2013-11-21 13:40:52 +01:00
|
|
|
class ITranslate
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
2013-11-27 11:01:22 +01:00
|
|
|
virtual void Pack (Protocols::ProtocolHeader &header, OysterByte& bytes) = 0;
|
|
|
|
virtual Protocols::ProtocolSet* Unpack (Protocols::ProtocolSet* set, OysterByte& bytes ) = 0;
|
2013-11-21 13:40:52 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|