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 6 // See http://www.boost.org/libs/test for the library home page. 7 // 8 // File : $RCSfile$ 9 // 10 // Version : $Revision: 54633 $ 11 // 12 // Description : environment subsystem forward declarations 13 // *************************************************************************** 14 15 #ifndef BOOST_RT_ENV_FWD_HPP_062604GER 16 #define BOOST_RT_ENV_FWD_HPP_062604GER 17 18 #ifdef UNDER_CE 19 #error Windows CE does not support environment variables. 20 #endif 21 22 // Boost.Runtime.Parameter 23 #include <boost/test/utils/runtime/config.hpp> 24 25 namespace boost { 26 27 namespace BOOST_RT_PARAM_NAMESPACE { 28 29 namespace environment { 30 31 class variable_base; 32 variable_base var( cstring var_name ); 33 34 namespace rt_env_detail { 35 36 struct variable_data; 37 38 variable_data& new_var_record( cstring var_name ); 39 variable_data* find_var_record( cstring var_name ); 40 41 cstring sys_read_var( cstring var_name ); 42 void sys_write_var( cstring var_name, format_stream& var_value ); 43 44 } 45 46 template <typename T> class variable; 47 48 } // namespace environment 49 50 } // namespace BOOST_RT_PARAM_NAMESPACE 51 52 } // namespace boost 53 54 #endif // BOOST_RT_ENV_FWD_HPP_062604GER 55