Salome HOME
Fix for the "23284: EDF 13077 GEOM: Build GEOM without GUI and without VTK" issue.
[modules/geom.git] / src / GEOM_I_Superv / GEOM_Superv_i.hh
index da94583c80c5b4acb1f86c1ce81a4991d10bab30..594215cc4d3d4b6221e5313e5fd681cc42bf609b 100644 (file)
@@ -34,7 +34,9 @@
 #include CORBA_CLIENT_HEADER(STEPPlugin)
 #include CORBA_CLIENT_HEADER(IGESPlugin)
 #include CORBA_CLIENT_HEADER(XAOPlugin)
+#ifdef WITH_VTK
 #include CORBA_CLIENT_HEADER(VTKPlugin)
+#endif
 #include CORBA_SERVER_HEADER(GEOM_Superv)
 
 #include "SALOME_Component_i.hxx"
@@ -73,8 +75,9 @@ public:
   void getSTEPPluginOp();
   void getIGESPluginOp();
   void getXAOPluginOp();
+#ifdef WITH_VTK
   void getVTKPluginOp();
-
+#endif
   PortableServer::ServantBase_var GetServant(CORBA::Object_ptr       theObject,
                                              PortableServer::POA_ptr thePOA);
 
@@ -807,7 +810,9 @@ private:
   GEOM::ISTEPOperations_var           mySTEPOp;
   GEOM::IIGESOperations_var           myIGESOp;
   GEOM::IXAOOperations_var            myXAOOp;
+#ifdef WITH_VTK
   GEOM::IVTKOperations_var            myVTKOp;
+#endif
 };
 
 #endif