Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Last Changes of CPP version of Msg
[simgrid.git] / src / cxx / Application.hpp
index 1ca158f..7efe7a2 100644 (file)
        #error Application.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
+#include <Config.hpp>\r
 \r
 namespace SimGrid\r
 {\r
        namespace Msg\r
        {\r
+               class NullPointerException;\r
+               class FileNotFoundException;\r
+               class LogicException;\r
+               class MsgException;\r
+\r
                // Application wrapper class declaration.\r
-               class Application\r
+               class SIMGRIDX_EXPORT Application\r
                {\r
                public:\r
                        \r
@@ -75,7 +77,7 @@ namespace SimGrid
                         */\r
                         \r
                        void deploy(void)\r
-                       throw(LogicExeption, MsgException);\r
+                       throw(LogicException, MsgException);\r
                        \r
                        /*! \brief Application::deploy() - Deploy the appliction.\r
                         *\r
@@ -141,6 +143,7 @@ namespace SimGrid
                        \r
                        // the xml file which describes the application of the simulation.\r
                        const char* file;\r
+\r
                };\r
                \r
        } // namespace Msg\r