00001 // -*- C++ -*- 00002 00003 00004 //============================================================================= 00005 /** 00006 * @file IORTable.h 00007 * 00008 * IORTable.h,v 1.8 2006/03/10 07:19:11 jtc Exp 00009 * 00010 * @author Carlos O'Ryan <coryan@uci.edu> 00011 */ 00012 //============================================================================= 00013 00014 00015 #ifndef TAO_IORTABLE_H 00016 #define TAO_IORTABLE_H 00017 00018 #include /**/ "ace/pre.h" 00019 00020 #include "tao/IORTable/iortable_export.h" 00021 00022 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00023 # pragma once 00024 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00025 00026 #include "tao/Versioned_Namespace.h" 00027 00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00029 00030 class TAO_IORTable_Export TAO_IORTable_Initializer 00031 { 00032 public: 00033 /// Used to force the initialization of the ORB code. 00034 static int init (void); 00035 }; 00036 00037 static int 00038 TAO_Requires_IORTable_Initializer = TAO_IORTable_Initializer::init (); 00039 00040 TAO_END_VERSIONED_NAMESPACE_DECL 00041 00042 #define TAO_IORTABLE_SAFE_INCLUDE 00043 #include "tao/IORTable/IORTableC.h" 00044 #undef TAO_IORTABLE_SAFE_INCLUDE 00045 00046 #include /**/ "ace/post.h" 00047 00048 #endif /* TAO_IORTABLE_H */