#ifndef NETWORK_DEPENDENCIES_I_TRANSLATE #define NETWORK_DEPENDENCIES_I_TRANSLATE ////////////////////////////////// // Created by Sam Svensson 2013 // ////////////////////////////////// #include "../../Misc/Utilities.h" namespace Oyster { namespace Network { class OysterByte; class ITranslate { public: //packs and unpacks packages for sending or recieving over the connection virtual void Pack (Protocols::ProtocolHeader &header, Utility::DynamicMemory::SmartPointer &bytes) = 0; virtual void Unpack (Protocols::ProtocolSet* set, Utility::DynamicMemory::SmartPointer &bytes ) = 0; }; } } #endif