Salome HOME
Merge GUI developments from BR_GUI
[tools/hxx2salome.git] / scripts / TEMPLATE_SRC / src / TEMPLATE / TEMPLATE_i.cxx
diff --git a/scripts/TEMPLATE_SRC/src/TEMPLATE/TEMPLATE_i.cxx b/scripts/TEMPLATE_SRC/src/TEMPLATE/TEMPLATE_i.cxx
deleted file mode 100755 (executable)
index b21732b..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#include "TEMPLATE_i.hxx"
-//  HXX2SALOME_CPP_INCLUDE
-using namespace std;
-#include "FIELDClient.hxx"
-#include "MESHClient.hxx"
-#include <string>
-#include "MEDMEM_Support_i.hxx"
-#include "MEDMEM_Mesh_i.hxx"
-#include "MEDMEM_FieldDouble_i.hxx"
-#include "MEDMEM_FieldInt_i.hxx"
-#include "SenderFactory.hxx"
-#include "MultiCommException.hxx"
-#include "ReceiverFactory.hxx"
-
-//=============================================================================
-/*!
- *  standard constructor
- */
-//=============================================================================
-TEMPLATE_i::TEMPLATE_i(CORBA::ORB_ptr orb,
-       PortableServer::POA_ptr poa,
-       PortableServer::ObjectId * contId, 
-       const char *instanceName, 
-       const char *interfaceName) :
-  Engines_Component_i(orb, poa, contId, instanceName, interfaceName),cppCompo_(new TEMPLATE)
-{
-  MESSAGE("activate object");
-  _thisObj = this ;
-  _id = _poa->activate_object(_thisObj);
-}
-
-TEMPLATE_i::~TEMPLATE_i()
-{
-}
-
-//  HXX2SALOME_CXX_CODE
-
-
-extern "C"
-{
-  PortableServer::ObjectId * TEMPLATEEngine_factory(
-                              CORBA::ORB_ptr orb,
-                              PortableServer::POA_ptr poa, 
-                              PortableServer::ObjectId * contId,
-                              const char *instanceName, 
-                              const char *interfaceName)
-  {
-    MESSAGE("PortableServer::ObjectId * TEMPLATEEngine_factory()");
-    SCRUTE(interfaceName);
-    TEMPLATE_i * myTEMPLATE 
-      = new TEMPLATE_i(orb, poa, contId, instanceName, interfaceName);
-    return myTEMPLATE->getId() ;
-  }
-}