diff options
Diffstat (limited to 'TAO/tao/ORBInitializer_Registry.h')
-rw-r--r-- | TAO/tao/ORBInitializer_Registry.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/TAO/tao/ORBInitializer_Registry.h b/TAO/tao/ORBInitializer_Registry.h new file mode 100644 index 00000000000..88aa2610d27 --- /dev/null +++ b/TAO/tao/ORBInitializer_Registry.h @@ -0,0 +1,48 @@ +// -*- C++ -*- + +// =================================================================== +/** + * @file ORBInitializer_Registry.h + * + * $Id$ + * + * @author Ossama Othman <ossama@uci.edu> + */ +// =================================================================== + +#ifndef TAO_ORB_INITIALIZER_REGISTRY_H +#define TAO_ORB_INITIALIZER_REGISTRY_H + +#include /**/ "ace/pre.h" + +#include /**/ "tao/TAO_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/Environment.h" +#include "tao/default_environment.h" + +#include "ace/CORBA_macros.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +namespace PortableInterceptor +{ + class ORBInitializer; + typedef ORBInitializer *ORBInitializer_ptr; + + /// Register an ORBInitializer with the global ORBInitializer + /// table. + TAO_Export void register_orb_initializer ( + ORBInitializer_ptr init + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_ORB_INITIALIZER_REGISTRY_H */ |