#include <CDM_MessageDriver.hxx>
#include <Plugin_Macro.hxx>
#include <Standard_GUID.hxx>
-#include <Standard_Transient.hxx>
+#include <TDocStd_Application.hxx>
#include <XmlDrivers.hxx>
#include <XmlDrivers_DocumentRetrievalDriver.hxx>
#include <XmlDrivers_DocumentStorageDriver.hxx>
return aNullHandle;
}
+//=======================================================================
+//function : DefineFormat
+//purpose :
+//=======================================================================
+void XmlDrivers::DefineFormat (const Handle(TDocStd_Application)& theApp)
+{
+ theApp->DefineFormat ("XmlOcaf", "Xml OCAF Document", "xml",
+ new XmlDrivers_DocumentRetrievalDriver,
+ new XmlDrivers_DocumentStorageDriver ("Copyright: Open Cascade, 2001-2002"));
+}
+
//=======================================================================
//function : AttributeDrivers
//purpose :