-- ENUMERATIONS
- enumeration StationID is SUN, DECOSF, SGI, HP, WNT, MAC, UnknownStation;
+ enumeration StationID is SUN, DECOSF, SGI, HP, WNT, MAC, LIN, UnknownStation;
---Purpose: liste les stations supportees par WOK
enumeration DBMSID is DFLT, OBJY, OBJS, UnknownDBMS;
#define WOK_DEPCOMPAT 1
#endif
+#ifdef LIN
+# include <iomanip.h>
+#endif // LIN
+
//=======================================================================
//function : WOKernel_DevUnit
//purpose :
#include <TColStd_HSequenceOfHAsciiString.hxx>
+#ifdef LIN
+# include <iomanip.h>
+#endif // LIN
+
//=======================================================================
//function : WOKernel_Factory
//purpose : Factory constructor
#include <WOKernel_Parcel.ixx>
+#ifdef LIN
+# include <iomanip.h>
+#endif // LIN
+
//=======================================================================
//function : WOKernel_Parcel
//purpose : instantiates a parcel
#include <TColStd_HSequenceOfHAsciiString.hxx>
#include <TColStd_HSequenceOfAsciiString.hxx>
+#ifdef LIN
+# include <iomanip.h>
+#endif // LIN
+
//=======================================================================
//function : WOKernel_Session
//purpose :
case OSD_PC:
thestation = WOKernel_WNT;
break;
+ case OSD_LIN:
+ thestation = WOKernel_LIN;
+ break;
default:
ErrorMsg << "WOKernel_Session::Open" << "Unrecognized Type of host " << ahost.HostName().ToCString() << endm;
Standard_Failure::Raise("WOKernel_Session::Open");
if( !strcmp( astring->ToCString(), "hp" ) ) return WOKernel_HP;
if( !strcmp( astring->ToCString(), "wnt" ) ) return WOKernel_WNT;
if( !strcmp( astring->ToCString(), "mac" ) ) return WOKernel_MAC;
+ if( !strcmp( astring->ToCString(), "lin" ) ) return WOKernel_LIN;
ErrorMsg << "WOKernel_Station::GetID" << "Station " << astring << " is unknown to WOK" << endm;
Standard_ProgramError::Raise("WOKernel_Station::GetID");
if( !strcmp( astring->ToCString(), "hp" ) ) return Standard_True;
if( !strcmp( astring->ToCString(), "wnt" ) ) return Standard_True;
if( !strcmp( astring->ToCString(), "mac" ) ) return Standard_True;
+ if( !strcmp( astring->ToCString(), "lin" ) ) return Standard_True;
return Standard_False;
}
static Handle(TCollection_HAsciiString) SHP = new TCollection_HAsciiString("hp");
static Handle(TCollection_HAsciiString) SWNT = new TCollection_HAsciiString("wnt");
static Handle(TCollection_HAsciiString) SMAC = new TCollection_HAsciiString("mac");
+ static Handle(TCollection_HAsciiString) SLIN = new TCollection_HAsciiString("lin");
static Handle(TCollection_HAsciiString) SUNKNOWN = new TCollection_HAsciiString("UnknownStation");
switch(anid)
return SWNT;
case WOKernel_MAC:
return SMAC;
+ case WOKernel_LIN:
+ return SLIN;
default:
break;
}
// <jga@cobrax>
#include <fstream.h>
-
+
#include <WOKernel_Workbench.ixx>
#include <WOKernel_Session.hxx>
#include <TColStd_HSequenceOfHAsciiString.hxx>
#include <TColStd_HSequenceOfAsciiString.hxx>
+#ifdef LIN
+# include <iomanip.h>
+#endif // LIN
+
//=======================================================================
//function : WOKernel_Workbench
//purpose : instantiates a Workbench