Salome HOME
Fixing menus.
[modules/paravis.git] / src / PVGUI / PVGUI_Tools.cxx
index 54f27cfb24df2e4cd9c2ddb22f5ee27152aa26b0..0dc7fbd35407e8a3e94eb37f8d07bde3d2f91bae 100644 (file)
@@ -32,6 +32,7 @@ using namespace std;
 //=============================================================================
 namespace PARAVIS
 {
+#ifdef PARAVIS_WITH_FULL_CORBA
   //------------------------------------------------------------
   PARAVIS_Gen_i* GetParavisGen(const CAM_Module* theModule)
   {
@@ -48,6 +49,7 @@ namespace PARAVIS
       throw std::runtime_error("Can not create PARAVIS_Gen");
     return aGen;
   }
+#endif
 
   //------------------------------------------------------------
   _PTR(Study) GetCStudy(const CAM_Module* theModule)