Salome HOME
Fix for #19201: Can't select a SHAPER result to create a group on geometry
[modules/smesh.git] / src / MEDWrapper / MED_Wrapper.hxx
index 6761a19e82a8d8d9880da0e6e5084a8192e6e1ba..24c5e9fd06459ffbbf6058b82cd26b549637e0ce 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  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
@@ -52,7 +52,7 @@ namespace MED
     TWrapper& operator=(const TWrapper&);
 
   public:
-    TWrapper(const std::string& theFileName, bool write, TInt theVersion=-1);
+    TWrapper(const std::string& theFileName, bool write, TInt theMajor=-1, TInt theVersion=-1);
 
     virtual
     ~TWrapper();
@@ -939,6 +939,7 @@ namespace MED
 
   protected:
     PFile myFile;
+    TInt myMajor;
     TInt myMinor;
   };