Anonymous
public text v1 · immutable#ifndef CLASS_PACKET
#define CLASS_PACKET
class Packet
{
public :
// Fonction de la classe //
void addData (std::string);
std::string getDestination ();
std::string getCommande();
std::string getData();
// Constructeur et destructeur //
Packet();
~Packet();
private :
std::string data;
int destination;
int commande;
};
#endif