Salome HOME
Merge remote branch 'origin/abn/guifix' into V7_5_BR
[modules/paravis.git] / src / PVGUI / PVGUI_Tools.h
index d92982cb32898d2640db81e8614bc887033f8486..c7346796fadaf7073cccd566d949ebaea3433721 100644 (file)
@@ -1,11 +1,11 @@
 // PARAVIS : ParaView wrapper SALOME module
 //
-// Copyright (C) 2010-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2014  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 #ifndef PVGUI_Tools_H
 #define PVGUI_Tools_H
 
-#include "PARAVIS_Gen_i.hh"
+#ifdef PARAVIS_WITH_FULL_CORBA
+#  include "PARAVIS_Gen_i.hh"
+#endif
 
 #include "SALOMEDSClient_Study.hxx"
 
+#define PVSTATEID 15555
+
 class CAM_Module;
 
 namespace PARAVIS 
 {
-  
+#ifdef PARAVIS_WITH_FULL_CORBA
   PARAVIS_Gen_i* GetParavisGen(const CAM_Module* theModule);
+#endif
 
   _PTR(Study)    GetCStudy(const CAM_Module* theModule);
 };