Mercurial > pidgin
comparison src/signals.h @ 6548:d01ba50e3f3e
[gaim-migrate @ 7070]
And the .h file is good too. Some people may want it.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 21 Aug 2003 07:37:47 +0000 |
parents | e74e378e86bf |
children | c53a3f0649eb |
comparison
equal
deleted
inserted
replaced
6547:adf168f002ad | 6548:d01ba50e3f3e |
---|---|
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. |