Salome HOME
premiere version
[samples/hello.git] / src / HELLO / HELLO.hxx
1 #ifndef _HELLO_HXX_
2 #define _HELLO_HXX_
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(HELLO_Gen)
6 #include "SALOME_Component_i.hxx"
7
8 class HELLO:
9   public POA_HELLO_ORB::HELLO_Gen,
10   public Engines_Component_i 
11 {
12
13 public:
14     HELLO(CORBA::ORB_ptr orb,
15             PortableServer::POA_ptr poa,
16             PortableServer::ObjectId * contId, 
17             const char *instanceName, 
18             const char *interfaceName);
19     virtual ~HELLO();
20
21     //
22
23     char* makeBanner(const char* name);
24
25 };
26
27 extern "C"
28     PortableServer::ObjectId * HELLOEngine_factory(
29             CORBA::ORB_ptr orb,
30             PortableServer::POA_ptr poa,
31             PortableServer::ObjectId * contId,
32             const char *instanceName,
33             const char *interfaceName);
34
35
36 #endif