Salome HOME
Porting HEXABLOCKPLUGIN SALOME module on WIN32 platform.
[plugins/hexablockplugin.git] / src / HEXABLOCKPlugin / HEXABLOCKPlugin_HEXABLOCK_i.hxx
1 // Copyright (C) 2009-2013  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 //  File   : HEXABLOCKPlugin_HEXABLOCK_i.hxx
21 //  Author : Lioka RAZAFINDRAZAKA (CEA)
22 //  Module : HEXABLOCKPlugin
23 //  $Header$
24 //
25 #ifndef _HEXABLOCKPlugin_HEXABLOCK_I_HXX_
26 #define _HEXABLOCKPlugin_HEXABLOCK_I_HXX_
27
28 #include <SALOMEconfig.h>
29 #include CORBA_SERVER_HEADER(HEXABLOCKPlugin_Algorithm)
30 #include CORBA_SERVER_HEADER(SALOME_Exception)
31
32 #include "HEXABLOCKPlugin_Defs.hxx"
33 #include "SMESH_3D_Algo_i.hxx"
34 #include "HEXABLOCKPlugin_HEXABLOCK.hxx"
35
36 // ======================================================
37 // HEXABLOCK 3d algorithm
38 // ======================================================
39 class HEXABLOCKPLUGINENGINE_EXPORT HEXABLOCKPlugin_HEXABLOCK_i:
40   public virtual POA_HEXABLOCKPlugin::HEXABLOCKPlugin_HEXABLOCK,
41   public virtual SMESH_3D_Algo_i
42 {
43 public:
44   // Constructor
45   HEXABLOCKPlugin_HEXABLOCK_i (PortableServer::POA_ptr thePOA,
46                        int                     theStudyId,
47                        ::SMESH_Gen*            theGenImpl );
48   // Destructor
49   virtual ~HEXABLOCKPlugin_HEXABLOCK_i();
50  
51   // Get implementation
52   ::HEXABLOCKPlugin_HEXABLOCK* GetImpl();
53 };
54
55 #endif