0031642: Visualization - crash in Graphic3d_Structure::SetVisual() on redisplaying...
[occt.git] / src / AppStdL / AppStdL_Application.cxx
index a04b662..22f9f13 100644 (file)
 //AGV 15/10/01 : Add XmlOcaf support; add MessageDriver support
 
 #include <AppStdL_Application.hxx>
-#include <CDM_COutMessageDriver.hxx>
-#include <CDM_MessageDriver.hxx>
-#include <Standard_Type.hxx>
+#include <Standard_Dump.hxx>
 
 IMPLEMENT_STANDARD_RTTIEXT(AppStdL_Application,TDocStd_Application)
 
 //=======================================================================
-//function : AppStdL_Application
-//purpose  : 
-//=======================================================================
-AppStdL_Application::AppStdL_Application()
-{
-  myMessageDriver = new CDM_COutMessageDriver;
-}
-
-//=======================================================================
-//function : MessageDriver
+//function : ResourcesName
 //purpose  : 
 //=======================================================================
 
-Handle(CDM_MessageDriver) AppStdL_Application::MessageDriver ()
+Standard_CString AppStdL_Application::ResourcesName()
 {
-  return myMessageDriver;
+  const Standard_CString aRes = "StandardLite";
+  return aRes;
 }
 
 //=======================================================================
-//function : Formats
+//function : DumpJson
 //purpose  : 
 //=======================================================================
-void AppStdL_Application::Formats(TColStd_SequenceOfExtendedString& theFormats) 
+void AppStdL_Application::DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth) const
 {
-  theFormats.Append("OCC-StdLite");
-  theFormats.Append("XmlLOcaf");
-  theFormats.Append("BinLOcaf");
-}
+  OCCT_DUMP_TRANSIENT_CLASS_BEGIN (theOStream)
 
-//=======================================================================
-//function : ResourcesName
-//purpose  : 
-//=======================================================================
-
-Standard_CString AppStdL_Application::ResourcesName() {
-  const Standard_CString aRes = "StandardLite";
-  //const Standard_CString aRes = "Standard";
-  return aRes;
+  OCCT_DUMP_BASE_CLASS (theOStream, theDepth, TDocStd_Application)
 }
-