7#ifndef MYGUI_EVENT_PAIR_H_
8#define MYGUI_EVENT_PAIR_H_
15 template <
typename EventObsolete,
typename Event>
22 void operator = (T* _delegate)
29 void operator = (typename Event::IDelegate* _delegate)
37 void operator += (T* _delegate)
51 void operator -= (T* _delegate)
63 template <
typename TP1>
70 template <
typename TP1,
typename TP2>
77 template <
typename TP1,
typename TP2,
typename TP3>
84 template <
typename TP1,
typename TP2,
typename TP3,
typename TP4>
91 template <
typename TP1,
typename TP2,
typename TP3,
typename TP4,
typename TP5>
92 void operator()( TP1 p1, TP2 p2, TP3 p3, TP4 p4, TP5 p5 )
98 template <
typename TP1,
typename TP2,
typename TP3,
typename TP4,
typename TP5,
typename TP6>
99 void operator()( TP1 p1, TP2 p2, TP3 p3, TP4 p4, TP5 p5, TP6 p6 )
102 m_event(p1, p2, p3, p4, p5, p6);
105 template <
typename TP1,
typename TP2,
typename TP3,
typename TP4,
typename TP5,
typename TP6,
typename TP7>
106 void operator()( TP1 p1, TP2 p2, TP3 p3, TP4 p4, TP5 p5, TP6 p6, TP7 p7 )
109 m_event(p1, p2, p3, p4, p5, p6, p7);
112 template <
typename TP1,
typename TP2,
typename TP3,
typename TP4,
typename TP5,
typename TP6,
typename TP7,
typename TP8>
113 void operator()( TP1 p1, TP2 p2, TP3 p3, TP4 p4, TP5 p5, TP6 p6, TP7 p7, TP8 p8 )
116 m_event(p1, p2, p3, p4, p5, p6, p7, p8);
129 template <
typename EventObsolete,
typename Event>
134 template <
typename T>
136 void operator = (T* _delegate)
143 void operator = (typename Event::IDelegate* _delegate)
149 template <
typename T>
151 void operator += (T* _delegate)
163 template <
typename T>
165 void operator -= (T* _delegate)
178 template <
typename TP1,
typename TP2>
186 template <
typename TP1,
typename TP2,
typename TP3,
typename TP4>
194 template <
typename TP1,
typename TP2,
typename TP3,
typename TP4>
#define MYGUI_OBSOLETE(text)
void operator()(TP1 p1, TP2 p2, TP3 p3, TP4 p4)
void operator()(TP1 p1, TP2 p2, TP3 p3)
EventObsolete m_eventObsolete
void operator+=(T *_delegate)
void operator-=(T *_delegate)
void operator()(TP1 p1, TP2 p2)
void operator()(TP1 p1, TP2 p2, TP3 p3, TP4 p4, TP5 p5, TP6 p6)
void operator()(TP1 p1, TP2 p2, TP3 p3, TP4 p4, TP5 p5)
void operator()(TP1 p1, TP2 p2, TP3 p3, TP4 p4, TP5 p5, TP6 p6, TP7 p7, TP8 p8)
void operator+=(T *_delegate)
void operator()(TP1 p1, TP2 p2, TP3 p3)
void operator()(TP1 p1, TP2 p2)
void operator()(TP1 p1, TP2 p2, TP3 p3, TP4 p4)
EventObsolete m_eventObsolete
void operator-=(T *_delegate)
void operator()(TP1 p1, TP2 p2, TP3 p3, TP4 p4, TP5 p5, TP6 p6, TP7 p7)