Salome HOME
Update copyrights 2014.
[modules/smesh.git] / src / Tools / padder / meshjob / idl / MESHJOB.idl
index a5559cd77e8ee537e3a3d08daad65c90072e646e..d4dfcada7304beb55b87ee3f7937996f8b358886 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2011-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2011-201 EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,6 +16,7 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 // Authors : Guillaume Boulant (EDF) - 31/01/2011
 
 #ifndef _MESHJOB_IDL_
@@ -49,7 +50,7 @@ module MESHJOB
   //
 
   // This defines the set of temporary folders used by the jobmanager
-  // when executing a job (may depends on the job).
+  // when executing a job (may depend on the job).
   struct MeshJobPaths
   {
     string local_inputdir;
@@ -76,7 +77,7 @@ module MESHJOB
   {
     string results_dirname;
     string outputmesh_filename;
-    string status;
+    boolean status;
   };
 
   // This defines the possible states of a job
@@ -119,6 +120,8 @@ module MESHJOB
     MeshJobPaths getPaths(in long jobId)
       raises (SALOME::SALOME_Exception);
 
+    /*! Returns the last error message (for user display) */
+    string getLastErrorMessage();
   };
 
 };