Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / default_environment.h
blobcedbe7c22c79fbaa5063bb3ed7709c69ea489923
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file default_environment.h
7 * @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
8 */
9 //=============================================================================
11 #ifndef TAO_DEFAULT_ENVIRONMENT_H
12 #define TAO_DEFAULT_ENVIRONMENT_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "tao/TAO_Export.h"
17 #include /**/ "tao/Versioned_Namespace.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
25 namespace CORBA
27 class Environment;
30 /// Provide a simple function to access the TSS default
31 /// environment. This will be used in TAO wherever we have a default
32 /// environment.
33 /**
34 * @note We tried with CORBA::default_environment() and others.
36 TAO_Export CORBA::Environment& TAO_default_environment ();
38 TAO_END_VERSIONED_NAMESPACE_DECL
40 #include /**/ "ace/post.h"
42 #endif /* TAO_DEFAULT_ENVIRONMENT_H */