Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/med.git] / src / MEDMEM / MEDMEM_Compatibility21_22.hxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 /*
21   Include file managing the compatibility
22   Med File V 2.1 and V 2.2
23 */
24
25 #ifndef COMPATIBILITY_21_22_HXX
26 #define COMPATIBILITY_21_22_HXX
27
28 /*
29   Med File V 2.1 attributes
30 */
31
32 #undef MED_H
33 #undef MED_PROTO_H
34
35 # include <med.hxx>
36 # include <med_proto.hxx>
37
38 #undef MED_TAILLE_PNOM
39 #undef MED_NOPFLi
40
41 /*
42   Med File V 2.2 attributes
43 */
44
45 #undef MED_H
46 #undef MED_PROTO_H
47
48 /*#ifdef med_2_3_NAMESPACE
49
50 {
51 #endif //med_2_3_NAMESPACE*/
52 namespace med_2_3 {
53   extern "C" { 
54     #include <med.h>
55     #include <med_proto.h>
56   }
57 }
58 //  }
59 //#ifdef med_2_3_NAMESPACE
60
61 //#endif //med_2_3_NAMESPACE
62
63 /*
64   Core of the management V2.1 V2.2 of the Med File
65 */
66
67 #undef MED_TAILLE_PNOM
68 #undef MED_NOPFLi
69
70 #define MED_TAILLE_PNOM21   8
71 #define MED_TAILLE_PNOM22  16
72
73 #endif /* COMPATIBILITY_21_22_HXX */