X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ec19c7fa602511e301668971cadf503df8ce8707..631a1a4d6e53de81ba76fbbd1e63bd07174c0f10:/include/simgrid/s4u/Link.hpp diff --git a/include/simgrid/s4u/Link.hpp b/include/simgrid/s4u/Link.hpp index 605c92e830..de05738704 100644 --- a/include/simgrid/s4u/Link.hpp +++ b/include/simgrid/s4u/Link.hpp @@ -6,14 +6,12 @@ #ifndef S4U_LINK_HPP_ #define S4U_LINK_HPP_ +#include #include +#include #include -#include "xbt/signal.hpp" - -#include "simgrid/link.h" - /*********** * Classes * ***********/ @@ -24,10 +22,10 @@ class NetworkAction; }; namespace s4u { /** @brief A Link represents the network facilities between [hosts](\ref simgrid::s4u::Host) */ -class Link { +XBT_PUBLIC_CLASS Link +{ friend simgrid::surf::LinkImpl; -private: // Links are created from the NetZone, and destroyed by their private implementation when the simulation ends explicit Link(surf::LinkImpl* pimpl) : pimpl_(pimpl) {} virtual ~Link() = default;