Salome HOME
Migration to OCCT 7.0
[modules/geom.git] / src / GEOM / GEOM_Application.cxx
index 09c7e410a82597c1cf5df6e28211ebade0fb5667..cdda8af45e132dcfbb78e6411e4ab70e2b4957b6 100644 (file)
 
 #include <GEOM_Application.hxx>
 
-#include <TColStd_SequenceOfExtendedString.hxx>
-
-IMPLEMENT_STANDARD_HANDLE (GEOM_Application, TDocStd_Application)
-IMPLEMENT_STANDARD_RTTIEXT(GEOM_Application, TDocStd_Application)
+OCCT_IMPLEMENT_STANDARD_RTTIEXT(GEOM_Application, TDocStd_Application)
 
 //=======================================================================
 //function : GEOM_Application
@@ -53,6 +50,9 @@ GEOM_Application::~GEOM_Application()
 void GEOM_Application::Formats(TColStd_SequenceOfExtendedString& Formats) 
 {  
   Formats.Append(TCollection_ExtendedString ("SALOME_GEOM"));
+#if OCC_VERSION_MAJOR > 6
+  Formats.Append(TCollection_ExtendedString ("BinOcaf"));
+#endif
 }