diff options
Diffstat (limited to 'modules/CIAO/examples/Null_Component/plan.h')
-rw-r--r-- | modules/CIAO/examples/Null_Component/plan.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/CIAO/examples/Null_Component/plan.h b/modules/CIAO/examples/Null_Component/plan.h new file mode 100644 index 00000000000..fce247dc321 --- /dev/null +++ b/modules/CIAO/examples/Null_Component/plan.h @@ -0,0 +1,32 @@ +// $Id$ + +extern "C" ::Components::HomeExecutorBase_ptr create_Null_Component_Home_Impl (void); +extern "C" ::PortableServer::Servant create_Null_Component_Home_Servant + (::Components::HomeExecutorBase_ptr p, + ::CIAO::Session_Container *c, + const char*); + +struct HomeAttributes +{ + char const * component_instance_name_; + /// Specify the entrypoint to component executor DLL. + char const * executor_entrypt_; + ::CIAO::HomeFactory executor_fptr_; + /// Specify the entrypoint to component servant DLL. + char const * servant_entrypt_; + ::CIAO::ServantFactory servant_fptr_; +}; + +// Homes +static const HomeAttributes homes_table[] = +{ + { + "Null_Component_ComponentImplementations_Null_Assembly_Container_Null_Assembly_Null_Component", + "create_Null_Component_Home_Impl", + create_Null_Component_Home_Impl, + "create_Null_Component_Home_Servant", + create_Null_Component_Home_Servant + }, +}; + + |