src/signals.h

changeset 6548
40da3b90b19f
parent 6509
2419bd620751
child 6562
fee83eac583d
equal deleted inserted replaced
6547:ffc0e15d291b 6548:40da3b90b19f
133 */ 133 */
134 gulong gaim_signal_connect(void *instance, const char *signal, 134 gulong gaim_signal_connect(void *instance, const char *signal,
135 void *handle, GaimCallback func, void *data); 135 void *handle, GaimCallback func, void *data);
136 136
137 /** 137 /**
138 * Connects a signal handler to a signal for a particular object.
139 *
140 * The signal handler will take a va_args of arguments, instead of
141 * individual arguments.
142 *
143 * Take care not to register a handler function twice. Gaim will
144 * not correct any mistakes for you in this area.
145 *
146 * @param instance The instance to connect to.
147 * @param signal The name of the signal to connect.
148 * @param handle The handle of the receiver.
149 * @param func The callback function.
150 * @param data The data to pass to the callback function.
151 *
152 * @return The signal handler ID.
153 *
154 * @see gaim_signal_disconnect()
155 */
156 gulong gaim_signal_connect_vargs(void *instance, const char *signal,
157 void *handle, GaimCallback func, void *data);
158
159 /**
138 * Disconnects a signal handler from a signal on an object. 160 * Disconnects a signal handler from a signal on an object.
139 * 161 *
140 * @param instance The instance to disconnect from. 162 * @param instance The instance to disconnect from.
141 * @param signal The name of the signal to disconnect. 163 * @param signal The name of the signal to disconnect.
142 * @param handle The handle of the receiver. 164 * @param handle The handle of the receiver.

mercurial