Salome HOME
Distributed salome session run now in temporary directory and not inb Application...
[modules/kernel.git] / src / Launcher / Launcher.hxx
index d9153543e9b2b59f1854128b5523b12d82ddca4f..279adbdc3e1c3db1a7a3afdd26596151bd832bcf 100644 (file)
@@ -23,7 +23,7 @@
 #define __LAUNCHER_HXX__
 
 #ifdef WIN32
-# ifdef LAUNCHER_EXPORTS
+# if defined LAUNCHER_EXPORTS || defined Launcher_EXPORTS
 #  define LAUNCHER_EXPORT __declspec(dllexport)
 # else
 #  define LAUNCHER_EXPORT __declspec(dllimport)
@@ -78,11 +78,11 @@ public:
                       const machineParams& params) throw(LauncherException);
 
   std::string queryJob( const long jobId, const machineParams& params) throw(LauncherException);
-  std::string queryJob( const long jobId, const std::string clusterName);
+  std::string queryJob( const long jobId, const std::string clusterName) throw(LauncherException);
   void deleteJob( const long jobId, const machineParams& params) throw(LauncherException);
-  void deleteJob( const long jobId, const std::string clusterName);
+  void deleteJob( const long jobId, const std::string clusterName) throw(LauncherException);
   void getResultsJob( const std::string directory, const long jobId, const machineParams& params ) throw(LauncherException);
-  void getResultsJob( const std::string directory, const long jobId, const std::string clusterName );
+  void getResultsJob( const std::string directory, const long jobId, const std::string clusterName ) throw (LauncherException);
 
   void SetResourcesManager( ResourcesManager_cpp* rm ) { _ResManager = rm; }