fwd.hpp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // (C) Copyright Gennadiy Rozental 2005-2008.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org/libs/test for the library home page.
  6. //
  7. // File : $RCSfile$
  8. //
  9. // Version : $Revision: 54633 $
  10. //
  11. // Description : environment subsystem forward declarations
  12. // ***************************************************************************
  13. #ifndef BOOST_RT_ENV_FWD_HPP_062604GER
  14. #define BOOST_RT_ENV_FWD_HPP_062604GER
  15. #ifdef UNDER_CE
  16. #error Windows CE does not support environment variables.
  17. #endif
  18. // Boost.Runtime.Parameter
  19. #include <boost/test/utils/runtime/config.hpp>
  20. namespace boost {
  21. namespace BOOST_RT_PARAM_NAMESPACE {
  22. namespace environment {
  23. class variable_base;
  24. variable_base var( cstring var_name );
  25. namespace rt_env_detail {
  26. struct variable_data;
  27. variable_data& new_var_record( cstring var_name );
  28. variable_data* find_var_record( cstring var_name );
  29. cstring sys_read_var( cstring var_name );
  30. void sys_write_var( cstring var_name, format_stream& var_value );
  31. }
  32. template <typename T> class variable;
  33. } // namespace environment
  34. } // namespace BOOST_RT_PARAM_NAMESPACE
  35. } // namespace boost
  36. #endif // BOOST_RT_ENV_FWD_HPP_062604GER