00001 00117 #ifndef INC_MI32_DELEGATE_H 00118 #define INC_MI32_DELEGATE_H 00119 00120 #ifndef INC_MI32_STDDEFNS_H 00121 #include <mi32/stddefns.h> 00122 #endif 00123 00124 #ifndef FASTDELEGATE_H 00125 #include <mi32/fastdelegate.h> 00126 #endif 00127 00128 #ifndef GENERATING_DOXYGEN_OUTPUT 00129 struct DPOINT2D; 00130 class MISTRING; 00131 class POLYLINE; 00132 namespace RVC { 00133 class OBJITEM; 00134 } 00135 #endif 00136 00137 using namespace fastdelegate; 00138 00139 // Define commonly used forms. 00140 00142 typedef fastdelegate::FastDelegate<void()> DELEGATE_VOID_NOPARMS; 00143 00145 typedef fastdelegate::FastDelegate<void(bool)> DELEGATE_VOID_BOOL; 00146 00148 typedef fastdelegate::FastDelegate<void(INT32)> DELEGATE_VOID_INT32; 00149 00151 typedef fastdelegate::FastDelegate<void(const MISTRING&)> DELEGATE_VOID_MISTRING; 00152 00154 typedef fastdelegate::FastDelegate<void(const DPOINT2D&)> DELEGATE_VOID_DPOINT2D; 00155 00157 typedef fastdelegate::FastDelegate<bool()> DELEGATE_BOOL_NOPARMS; 00158 00160 typedef fastdelegate::FastDelegate<ERRVALUE()> DELEGATE_ERRVALUE_NOPARMS; 00161 00163 typedef fastdelegate::FastDelegate<ERRVALUE(bool)> DELEGATE_ERRVALUE_BOOL; 00164 00167 typedef fastdelegate::FastDelegate<ERRVALUE(double)> DELEGATE_ERRVALUE_DOUBLE; 00168 00170 typedef fastdelegate::FastDelegate<double()> DELEGATE_DOUBLE_NOPARMS; 00171 00173 typedef fastdelegate::FastDelegate<bool(INT32)> DELEGATE_BOOL_INT32; 00174 00176 typedef fastdelegate::FastDelegate<bool(UINT32)> DELEGATE_BOOL_UINT32; 00177 00179 typedef fastdelegate::FastDelegate<ERRVALUE(const POLYLINE&)> DELEGATE_ERRVALUE_POLYLINE; 00180 00182 typedef fastdelegate::FastDelegate<const RVC::OBJITEM&()> DELEGATE_OBJITEM_NOPARMS; 00183 00184 #endif // INC_MI32_DELEGATE_H
1.6.1