sl@0: // Boost.Signals library sl@0: sl@0: // Copyright Douglas Gregor 2001-2003. Use, modification and sl@0: // distribution is subject to the Boost Software License, Version sl@0: // 1.0. (See accompanying file LICENSE_1_0.txt or copy at sl@0: // http://www.boost.org/LICENSE_1_0.txt) sl@0: sl@0: // For more information, see http://www.boost.org sl@0: sl@0: #ifndef BOOST_SIGNALS_SIGNAL2_HEADER sl@0: #define BOOST_SIGNALS_SIGNAL2_HEADER sl@0: sl@0: #define BOOST_SIGNALS_NUM_ARGS 2 sl@0: #define BOOST_SIGNALS_TEMPLATE_PARMS typename T1, typename T2 sl@0: #define BOOST_SIGNALS_TEMPLATE_ARGS T1, T2 sl@0: #define BOOST_SIGNALS_PARMS T1 a1, T2 a2 sl@0: #define BOOST_SIGNALS_ARGS a1, a2 sl@0: #define BOOST_SIGNALS_BOUND_ARGS args->a1, args->a2 sl@0: #define BOOST_SIGNALS_ARGS_AS_MEMBERS T1 a1;T2 a2; sl@0: #define BOOST_SIGNALS_COPY_PARMS T1 ia1, T2 ia2 sl@0: #define BOOST_SIGNALS_INIT_ARGS :a1(ia1), a2(ia2) sl@0: #define BOOST_SIGNALS_ARG_TYPES typedef T1 arg2_type; typedef T2 arg3_type; sl@0: sl@0: #include sl@0: sl@0: #undef BOOST_SIGNALS_ARG_TYPES sl@0: #undef BOOST_SIGNALS_INIT_ARGS sl@0: #undef BOOST_SIGNALS_COPY_PARMS sl@0: #undef BOOST_SIGNALS_ARGS_AS_MEMBERS sl@0: #undef BOOST_SIGNALS_BOUND_ARGS sl@0: #undef BOOST_SIGNALS_ARGS sl@0: #undef BOOST_SIGNALS_PARMS sl@0: #undef BOOST_SIGNALS_TEMPLATE_ARGS sl@0: #undef BOOST_SIGNALS_TEMPLATE_PARMS sl@0: #undef BOOST_SIGNALS_NUM_ARGS sl@0: sl@0: #endif // BOOST_SIGNALS_SIGNAL2_HEADER