X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPVGUI%2FPVGUI_Tools.h;h=c7346796fadaf7073cccd566d949ebaea3433721;hb=fe837bd5f2aae9a93c8986af24a84520551b2995;hp=d92982cb32898d2640db81e8614bc887033f8486;hpb=c7c9039d845fb2a5e2eb391139af089b4bed26a5;p=modules%2Fparavis.git diff --git a/src/PVGUI/PVGUI_Tools.h b/src/PVGUI/PVGUI_Tools.h index d92982cb..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-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 @@ -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); };