blob: 3e093a1ffd36b46ad98e30ead993d8445f53393a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// File: FWOSDriver.cxx
// Created: Tue Mar 4 16:38:53 1997
// Author: Mister rmi
// <rmi@frilox.paris1.matra-dtv.fr>
#include <FWOSDriver.ixx>
#include <FWOSDriver_DriverFactory.hxx>
#include <Plugin_Macro.hxx>
// avoid warnings on 'extern "C"' functions returning C++ classes
#ifdef _MSC_VER
#pragma warning(disable:4190)
#endif
PLUGIN(FWOSDriver)
Handle(Standard_Transient) FWOSDriver::Factory(const Standard_GUID& aGUID) {
static Handle(FWOSDriver_DriverFactory) f;
if(f.IsNull()) f = new FWOSDriver_DriverFactory;
return f;
}
|