Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
code simplification around Host::onDestruction
[simgrid.git] / src / surf / surf_routing_generic.hpp
index 7eed697..f01fdd9 100644 (file)
@@ -4,16 +4,19 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#include <xbt/base.h>
+
 #include "surf_routing_none.hpp"
 
 #ifndef SURF_ROUTING_GENERIC_HPP_
 #define SURF_ROUTING_GENERIC_HPP_
 
-class AsGeneric;
+namespace simgrid {
+namespace surf {
 
-void generic_free_route(sg_platf_route_cbarg_t route);
+class XBT_PRIVATE AsGeneric;
 
-class AsGeneric : public AsNone {
+class XBT_PRIVATE AsGeneric : public AsNone {
 public:
   AsGeneric();
   ~AsGeneric();
@@ -40,4 +43,7 @@ public:
   virtual void srcDstCheck(RoutingEdge *src, RoutingEdge *dst);
 };
 
+}
+}
+
 #endif /* SURF_ROUTING_GENERIC_HPP_ */