X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPVGUI%2FPVGUI_Tools.h;h=c7346796fadaf7073cccd566d949ebaea3433721;hb=fe837bd5f2aae9a93c8986af24a84520551b2995;hp=dde87493ca364b5641448e5a41489cb5051cb8a1;hpb=89c33033151baa33eeac8fb09d9c0488acb43c35;p=modules%2Fparavis.git diff --git a/src/PVGUI/PVGUI_Tools.h b/src/PVGUI/PVGUI_Tools.h index dde87493..c7346796 100644 --- a/src/PVGUI/PVGUI_Tools.h +++ b/src/PVGUI/PVGUI_Tools.h @@ -1,11 +1,11 @@ // PARAVIS : ParaView wrapper SALOME module // -// Copyright (C) 2010-2012 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 @@ -25,16 +25,21 @@ #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); };