sl@0
|
1 |
// Boost.Signals library
|
sl@0
|
2 |
|
sl@0
|
3 |
// Copyright Douglas Gregor 2001-2003. Use, modification and
|
sl@0
|
4 |
// distribution is subject to the Boost Software License, Version
|
sl@0
|
5 |
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
sl@0
|
6 |
// http://www.boost.org/LICENSE_1_0.txt)
|
sl@0
|
7 |
|
sl@0
|
8 |
// For more information, see http://www.boost.org
|
sl@0
|
9 |
|
sl@0
|
10 |
#ifndef BOOST_SIGNALS_SIGNAL3_HEADER
|
sl@0
|
11 |
#define BOOST_SIGNALS_SIGNAL3_HEADER
|
sl@0
|
12 |
|
sl@0
|
13 |
#define BOOST_SIGNALS_NUM_ARGS 3
|
sl@0
|
14 |
#define BOOST_SIGNALS_TEMPLATE_PARMS typename T1, typename T2, typename T3
|
sl@0
|
15 |
#define BOOST_SIGNALS_TEMPLATE_ARGS T1, T2, T3
|
sl@0
|
16 |
#define BOOST_SIGNALS_PARMS T1 a1, T2 a2, T3 a3
|
sl@0
|
17 |
#define BOOST_SIGNALS_ARGS a1, a2, a3
|
sl@0
|
18 |
#define BOOST_SIGNALS_BOUND_ARGS args->a1, args->a2, args->a3
|
sl@0
|
19 |
#define BOOST_SIGNALS_ARGS_AS_MEMBERS T1 a1;T2 a2;T3 a3;
|
sl@0
|
20 |
#define BOOST_SIGNALS_COPY_PARMS T1 ia1, T2 ia2, T3 ia3
|
sl@0
|
21 |
#define BOOST_SIGNALS_INIT_ARGS :a1(ia1), a2(ia2), a3(ia3)
|
sl@0
|
22 |
#define BOOST_SIGNALS_ARG_TYPES typedef T1 arg2_type; typedef T2 arg3_type; typedef T3 arg4_type;
|
sl@0
|
23 |
|
sl@0
|
24 |
#include <boost/signals/signal_template.hpp>
|
sl@0
|
25 |
|
sl@0
|
26 |
#undef BOOST_SIGNALS_ARG_TYPES
|
sl@0
|
27 |
#undef BOOST_SIGNALS_INIT_ARGS
|
sl@0
|
28 |
#undef BOOST_SIGNALS_COPY_PARMS
|
sl@0
|
29 |
#undef BOOST_SIGNALS_ARGS_AS_MEMBERS
|
sl@0
|
30 |
#undef BOOST_SIGNALS_BOUND_ARGS
|
sl@0
|
31 |
#undef BOOST_SIGNALS_ARGS
|
sl@0
|
32 |
#undef BOOST_SIGNALS_PARMS
|
sl@0
|
33 |
#undef BOOST_SIGNALS_TEMPLATE_ARGS
|
sl@0
|
34 |
#undef BOOST_SIGNALS_TEMPLATE_PARMS
|
sl@0
|
35 |
#undef BOOST_SIGNALS_NUM_ARGS
|
sl@0
|
36 |
|
sl@0
|
37 |
#endif // BOOST_SIGNALS_SIGNAL3_HEADER
|