All pastes #794445 Raw Edit

Anonymous

public text v1 · immutable
#794445 ·published 2007-11-23 03:39 UTC
rendered paste body
#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