Salome HOME
Preparing migration to 4.3
[modules/paravis.git] / src / PVGUI / PVGUI_Tools.h
1 // PARAVIS : ParaView wrapper SALOME module
2 //
3 // Copyright (C) 2010-2015  CEA/DEN, EDF R&D
4 //
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License, or (at your option) any later version.
9 //
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 // Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18 //
19 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 //
21 // File   : PVGUI_Tools.h
22 // Author : Vitaly Smetannikov
23 //
24
25 #ifndef PVGUI_Tools_H
26 #define PVGUI_Tools_H
27
28 #ifdef PARAVIS_WITH_FULL_CORBA
29 #  include "PARAVIS_Gen_i.hh"
30 #endif
31
32 #include "SALOMEDSClient_Study.hxx"
33
34 #define PVSTATEID 15555
35
36 class CAM_Module;
37
38 namespace PARAVIS 
39 {
40 #ifdef PARAVIS_WITH_FULL_CORBA
41   PARAVIS_Gen_i* GetParavisGen(const CAM_Module* theModule);
42 #endif
43
44   _PTR(Study)    GetCStudy(const CAM_Module* theModule);
45 };
46
47 #endif // PVGUI_Tools_H