Salome HOME
Merge from mergeto_trunk_22Aug12
[samples/dsccode.git] / src / INTERPI / INTERPI.hxx
1 #ifndef _INTERPI_HXX_
2 #define _INTERPI_HXX_
3
4 #include "Superv_Component_i.hxx"
5 #include "DSCCODE.hh"
6
7 class INTERPI_i:
8   public virtual POA_DSCCODE::INTERPI,
9   public virtual Superv_Component_i
10 {
11   public:
12     INTERPI_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, 
13               PortableServer::ObjectId * contId, 
14                     const char *instanceName, const char *interfaceName);
15     virtual ~INTERPI_i();
16     CORBA::Boolean init_service(const char * service_name);
17     void prun();
18     void trun();
19 };
20
21 extern "C"
22 {
23     PortableServer::ObjectId * INTERPIEngine_factory( CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId * contId, const char *instanceName, const char *interfaceName);
24     PortableServer::ObjectId * INTERPJEngine_factory( CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId * contId, const char *instanceName, const char *interfaceName);
25     PortableServer::ObjectId * INTERPKEngine_factory( CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId * contId, const char *instanceName, const char *interfaceName);
26 }
27 #endif