Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
These defines are useless.
[simgrid.git] / src / surf / workstation.hpp
index 34768af..76aaf9f 100644 (file)
@@ -1,7 +1,7 @@
 #include "surf.hpp"
-#include "storage.hpp"
-#include "cpu.hpp"
-#include "network.hpp"
+#include "storage_interface.hpp"
+#include "cpu_interface.hpp"
+#include "network_interface.hpp"
 
 #ifndef WORKSTATION_HPP_
 #define WORKSTATION_HPP_
@@ -93,14 +93,14 @@ public:
   sg_size_t fileTell(surf_file_t fd);
   sg_size_t getFreeSize(const char* name);
   sg_size_t getUsedSize(const char* name);
-  sg_size_t fileSeek(surf_file_t fd, sg_size_t offset, int origin);
+  int fileSeek(surf_file_t fd, sg_size_t offset, int origin);
 
   bool isUsed();
   //bool isShared();
   xbt_dynar_t p_storage;
   RoutingEdgePtr p_netElm;
   CpuPtr p_cpu;
-  NetworkCm02LinkPtr p_network;
+  NetworkLinkPtr p_network;
 
   xbt_dynar_t getVms();