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
|
|
|
|
{
|
|
|
|
class ITranslate
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
2013-11-25 19:00:33 +01:00
|
|
|
virtual unsigned char* Pack (Protocols::ProtocolHeader &header ) = 0;
|
|
|
|
virtual Protocols::ProtocolSet* Unpack (Protocols::ProtocolSet* set, unsigned char message[] ) = 0;
|
2013-11-21 13:40:52 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|