18 lines
359 B
C++
18 lines
359 B
C++
#ifndef NETWORK_DEPENDENCIES_I_TRANSLATE
|
|
#define NETWORK_DEPENDENCIES_I_TRANSLATE
|
|
|
|
namespace Oyster
|
|
{
|
|
namespace Network
|
|
{
|
|
class ITranslate
|
|
{
|
|
|
|
public:
|
|
virtual unsigned char* Translate (Protocols::ProtocolHeader &header ) = 0;
|
|
virtual Protocols::ProtocolSet* Translate (Protocols::ProtocolSet* set, unsigned char message[] ) = 0;
|
|
|
|
};
|
|
}
|
|
}
|
|
#endif |