X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FCore%2FConstants.hxx;h=48fffd6bbf47d7a79e9bd295dcca0f6586803725;hb=b4e59846fd2eaf893548f182645e7162da4ad731;hp=8a080984f18fe3cfc809c5cd351db9cf17780a23;hpb=abbee2f6672a49930b2380205d1410360106f8bc;p=tools%2Flibbatch.git diff --git a/src/Core/Constants.hxx b/src/Core/Constants.hxx index 8a08098..48fffd6 100644 --- a/src/Core/Constants.hxx +++ b/src/Core/Constants.hxx @@ -1,23 +1,23 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS // -// 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. +// 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, 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 -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. // -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // /* * Constants.hxx : @@ -39,6 +39,7 @@ // TODO: replace those static declarations by an external description file (XML for instance) #define decl_extern_Constant(constant) extern BATCH_EXPORT const std::string constant #define def_Constant(constant) const std::string constant = #constant +#define LIBBATCH_UNUSED(var) (void)var namespace Batch { @@ -61,6 +62,11 @@ namespace Batch { decl_extern_Constant(WORKDIR); decl_extern_Constant(EXCLUSIVE); decl_extern_Constant(MEMPERCPU); + decl_extern_Constant(WCKEY); + decl_extern_Constant(EXTRAPARAMS); + decl_extern_Constant(PREPROCESS); + decl_extern_Constant(PARTITION); + decl_extern_Constant(NBNODE); // Parameters for COORM decl_extern_Constant(LAUNCHER_FILE);