Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some new classes of CPP version of Msg
[simgrid.git] / src / cxx / Environment.hpp
index cc21c72..fb2a17b 100644 (file)
        #error Environment.hpp requires C++ compilation (use a .cxx suffix)\r
 #endif\r
 \r
-#include <NullPointerException.hpp>\r
-#include <FileNotFoundException.hpp>\r
-#include <LogicException.hpp>\r
-#include <MsgException.hpp>\r
-\r
+#include <Config.hpp>\r
 \r
 namespace SimGrid\r
 {\r
        namespace Msg\r
        {\r
+               class NullPointerException;\r
+               class FileNotFoundException;\r
+               class InvalidArgumentException;\r
+               class LogicException;\r
+               class MsgException;\r
+\r
                // Environment class wrapper declaration\r
-               class Environment\r
+               class SIMGRIDX_EXPORT Environment\r
                {\r
                        public:\r
                                \r
@@ -136,7 +138,7 @@ namespace SimGrid
                                const char* file;\r
                                \r
                                // flag : is true the environment of the simulation is loaded.\r
-                               bool loaded.\r
+                               bool loaded;\r
                };\r
                \r
        } // namespace Msg\r