#include <Plugin_Macro.hxx>
#include <Standard_Failure.hxx>
#include <Standard_GUID.hxx>
-#include <Standard_Transient.hxx>
+#include <TDocStd_Application.hxx>
static Standard_GUID BinXCAFStorageDriver ("a78ff496-a779-11d5-aab4-0050044b1af1");
static Standard_GUID BinXCAFRetrievalDriver("a78ff497-a779-11d5-aab4-0050044b1af1");
return aNullHandle;
}
+//=======================================================================
+//function : DefineFormat
+//purpose :
+//=======================================================================
+void BinXCAFDrivers::DefineFormat (const Handle(TDocStd_Application)& theApp)
+{
+ theApp->DefineFormat ("BinXCAF", "Binary XCAF Document", "xbf",
+ new BinXCAFDrivers_DocumentRetrievalDriver,
+ new BinXCAFDrivers_DocumentStorageDriver);
+}
+
//=======================================================================
//function :
//purpose :