]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Wed, 3 Nov 1999 18:05:01 +0000 (18:05 +0000)
committercas <cas@opencascade.com>
Wed, 3 Nov 1999 18:05:01 +0000 (18:05 +0000)
src/WOKernel/WOKernel.cdl
src/WOKernel/WOKernel_DevUnit.cxx
src/WOKernel/WOKernel_Factory.cxx
src/WOKernel/WOKernel_Parcel.cxx
src/WOKernel/WOKernel_Session.cxx
src/WOKernel/WOKernel_Station.cxx
src/WOKernel/WOKernel_Workbench.cxx

index 35b8ed43a196e8721a3a7ef6148ffd96836f83ed..cacaac43124039cd005437e47125d5862daaf708 100755 (executable)
@@ -31,7 +31,7 @@ is
 -- 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;
index 110c137f47685f1ab9ad654a3a7f627cdf790b5c..f86831a18de7a4ce9865b3396197ac9358f9a0d2 100755 (executable)
 #define WOK_DEPCOMPAT 1
 #endif
 
+#ifdef LIN
+# include <iomanip.h>
+#endif  // LIN
+
 //=======================================================================
 //function : WOKernel_DevUnit
 //purpose  : 
index 6866fa1de258c0ce2138fac2401b473acff371da..351bae8022bd24550a6a6796c4e66ca42811bfd6 100755 (executable)
 
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 
+#ifdef LIN
+# include <iomanip.h>
+#endif  // LIN
+
 //=======================================================================
 //function : WOKernel_Factory
 //purpose  : Factory constructor
index b72558124ccf05518c5696183c375aa3d577170f..dba4a5c70fb3ec614f8bacbfbb29d6e84988f554 100755 (executable)
 
 #include <WOKernel_Parcel.ixx>
 
+#ifdef LIN
+# include <iomanip.h>
+#endif  // LIN
+
 //=======================================================================
 //function : WOKernel_Parcel
 //purpose  : instantiates a parcel
index 47f85435cd804dee7663f8dd7833f3bf672bc1e6..4da4a170b22591d9e840e5ddacb5fef5d3473038 100755 (executable)
 #include <TColStd_HSequenceOfHAsciiString.hxx>
 #include <TColStd_HSequenceOfAsciiString.hxx>
 
+#ifdef LIN
+# include <iomanip.h>
+#endif  // LIN
+
 //=======================================================================
 //function : WOKernel_Session
 //purpose  : 
@@ -193,6 +197,9 @@ void WOKernel_Session::Open(const Handle(TCollection_HAsciiString)& aroot, const
     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");
index c695513ded21e69da4541633fad6d2d774427e85..0403b8f0aa1112add0f53b21bd8e49d3e9795e1e 100755 (executable)
@@ -20,6 +20,7 @@ WOKernel_StationID WOKernel_Station::GetID(const Handle(TCollection_HAsciiString
   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");
@@ -38,6 +39,7 @@ Standard_Boolean WOKernel_Station::IsNameKnown(const Handle(TCollection_HAsciiSt
   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;
 }
@@ -54,6 +56,7 @@ Standard_Boolean WOKernel_Station::IsNameKnown(const Handle(TCollection_HAsciiSt
   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)
@@ -70,6 +73,8 @@ Standard_Boolean WOKernel_Station::IsNameKnown(const Handle(TCollection_HAsciiSt
       return SWNT;
     case WOKernel_MAC: 
       return SMAC;
+    case WOKernel_LIN:
+      return SLIN;
     default:
       break;
     }
index 7d25d6fb35c14f4cdec3ace464a1b8520a222f88..bdebabe8bb08759e87ad64e73b20a4aed2a3a430 100755 (executable)
@@ -4,7 +4,7 @@
 //             <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