mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-12 17:50:35 +05:00
Fix for the 21441: [CEA 523]: Graph YACS not working missing component GEOM_Superv.
This commit is contained in:
parent
8ddaec064c
commit
7b66cc3858
41
src/GEOM_I_Superv/GEOM_I_Superv.hxx
Executable file
41
src/GEOM_I_Superv/GEOM_I_Superv.hxx
Executable file
@ -0,0 +1,41 @@
|
||||
// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
|
||||
//
|
||||
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
||||
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
//
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
// File : GEOM_I_Superv.hxx
|
||||
// Author : Roman NIKOLAEV
|
||||
// Module : GEOM
|
||||
//
|
||||
#ifndef _GEOM_I_SUPERV_HXX_
|
||||
#define _GEOM_I_SUPERV_HXX_
|
||||
|
||||
#if defined WIN32
|
||||
# if defined GEOM_I_Superv_EXPORTS || defined GEOM_SupervEngine_EXPORTS
|
||||
# define GEOM_I_SUPERV_EXPORT __declspec( dllexport )
|
||||
# else
|
||||
# define GEOM_I_SUPERV_EXPORT __declspec( dllimport )
|
||||
# endif
|
||||
#else
|
||||
# define GEOM_I_SUPERV_EXPORT
|
||||
#endif
|
||||
|
||||
|
||||
#endif //_GEOM_I_SUPERV_HXX_
|
@ -23,6 +23,8 @@
|
||||
#ifndef __GEOM_LIST_I_H__
|
||||
#define __GEOM_LIST_I_H__
|
||||
|
||||
#include "GEOM_I_Superv.hxx"
|
||||
|
||||
// IDL headers
|
||||
#include <SALOMEconfig.h>
|
||||
#include CORBA_SERVER_HEADER(GEOM_Superv)
|
||||
@ -31,7 +33,7 @@
|
||||
#include "utilities.h"
|
||||
|
||||
template <class Type>
|
||||
class GEOM_List_i :
|
||||
class GEOM_I_SUPERV_EXPORT GEOM_List_i :
|
||||
public virtual POA_GEOM::GEOM_List,
|
||||
public virtual PortableServer::RefCountServantBase
|
||||
{
|
||||
|
@ -3409,6 +3409,9 @@ GEOM::GEOM_List_ptr GEOM_Superv_i::MakePipeTShapeFilletWithPosition
|
||||
//=====================================================================================
|
||||
extern "C"
|
||||
{
|
||||
#ifdef WIN32
|
||||
__declspec( dllexport )
|
||||
#endif
|
||||
PortableServer::ObjectId * GEOM_SupervEngine_factory(CORBA::ORB_ptr orb,
|
||||
PortableServer::POA_ptr poa,
|
||||
PortableServer::ObjectId * contId,
|
||||
|
@ -23,6 +23,8 @@
|
||||
#ifndef __GEOM_SUPERV_I_H__
|
||||
#define __GEOM_SUPERV_I_H__
|
||||
|
||||
#include "GEOM_I_Superv.hxx"
|
||||
|
||||
// IDL headers
|
||||
#include <SALOMEconfig.h>
|
||||
#include CORBA_SERVER_HEADER(GEOM_Superv)
|
||||
@ -30,8 +32,8 @@
|
||||
#include "GEOM_Gen_i.hh"
|
||||
#include "GEOM_List_i.hh"
|
||||
|
||||
class GEOM_Superv_i : public virtual POA_GEOM::GEOM_Superv,
|
||||
public Engines_Component_i
|
||||
class GEOM_I_SUPERV_EXPORT GEOM_Superv_i : public virtual POA_GEOM::GEOM_Superv,
|
||||
public Engines_Component_i
|
||||
{
|
||||
public:
|
||||
GEOM_Superv_i(CORBA::ORB_ptr orb,
|
||||
|
@ -29,7 +29,8 @@ include $(top_srcdir)/adm_local/unix/make_common_starter.am
|
||||
# header files
|
||||
salomeinclude_HEADERS = \
|
||||
GEOM_Superv_i.hh \
|
||||
GEOM_List_i.hh
|
||||
GEOM_List_i.hh \
|
||||
GEOM_I_Superv.hxx
|
||||
|
||||
# Libraries targets
|
||||
lib_LTLIBRARIES = libGEOM_SupervEngine.la
|
||||
|
Loading…
Reference in New Issue
Block a user