00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file default_environment.h 00006 * 00007 * default_environment.h,v 1.5 2005/11/02 07:13:04 ossama Exp 00008 * 00009 * @author Balachandran Natarajan <bala@dre.vanderbilt.edu> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_DEFAULT_ENVIRONMENT_H 00014 #define TAO_DEFAULT_ENVIRONMENT_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/TAO_Export.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00025 00026 namespace CORBA 00027 { 00028 class Environment; 00029 } 00030 00031 /// Provide a simple function to access the TSS default 00032 /// environment. This will be used in TAO wherever we have a default 00033 /// environment. 00034 /** 00035 * @note We tried with CORBA::default_environment() and others. 00036 */ 00037 TAO_Export CORBA::Environment& TAO_default_environment (void); 00038 00039 TAO_END_VERSIONED_NAMESPACE_DECL 00040 00041 #include /**/ "ace/post.h" 00042 00043 #endif /* TAO_DEFAULT_ENVIRONMENT_H */