Salome HOME
Use m4 macros from KERNEL
[samples/dsccode.git] / src / DSCCODCENG / DSCCODCENG.hxx
1 #ifndef _DSCCODCENG_HXX_
2 #define _DSCCODCENG_HXX_
3
4 #include "Superv_Component_i.hxx"
5 #include "DSCCODE.hh"
6
7 class DSCCODC_i:
8   public virtual POA_DSCCODE::DSCCODC,
9   public virtual Superv_Component_i
10 {
11   public:
12     DSCCODC_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, 
13               PortableServer::ObjectId * contId, 
14                     const char *instanceName, const char *interfaceName);
15     virtual ~DSCCODC_i();
16     CORBA::Boolean init_service(const char * service_name);
17     void prun(CORBA::Long niter);
18     void trun(CORBA::Long niter);
19 };
20
21 extern "C"
22 {
23     PortableServer::ObjectId * DSCCODCEngine_factory( CORBA::ORB_ptr orb, 
24                                                       PortableServer::POA_ptr poa, 
25                                                       PortableServer::ObjectId * contId,
26                                                             const char *instanceName, 
27                                                       const char *interfaceName);
28 }
29 #endif