Mercurial > pidgin
comparison libpurple/request.h @ 21069:fdefa5eb46e2
propagate from branch 'im.pidgin.pidgin' (head 1757e82b3ed17d8ad45db9d2c62f0187a8bee93d)
to branch 'org.maemo.garage.pidgin.pidgin.dialog-transience' (head a7af6ce1e8f29eb0eb1bffc0ebb72813c4c5fdbf)
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Sat, 06 Oct 2007 15:55:47 +0000 |
parents | 56a470fc7be8 |
children | 8c9aad9479c0 0b67d509a305 |
comparison
equal
deleted
inserted
replaced
20794:366204358e93 | 21069:fdefa5eb46e2 |
---|---|
187 const char *secondary, const char *default_value, | 187 const char *secondary, const char *default_value, |
188 gboolean multiline, gboolean masked, gchar *hint, | 188 gboolean multiline, gboolean masked, gchar *hint, |
189 const char *ok_text, GCallback ok_cb, | 189 const char *ok_text, GCallback ok_cb, |
190 const char *cancel_text, GCallback cancel_cb, | 190 const char *cancel_text, GCallback cancel_cb, |
191 PurpleAccount *account, const char *who, PurpleConversation *conv, | 191 PurpleAccount *account, const char *who, PurpleConversation *conv, |
192 void *user_data); | 192 const char *ui_hint, void *user_data); |
193 void *(*request_choice)(const char *title, const char *primary, | 193 void *(*request_choice)(const char *title, const char *primary, |
194 const char *secondary, int default_value, | 194 const char *secondary, int default_value, |
195 const char *ok_text, GCallback ok_cb, | 195 const char *ok_text, GCallback ok_cb, |
196 const char *cancel_text, GCallback cancel_cb, | 196 const char *cancel_text, GCallback cancel_cb, |
197 PurpleAccount *account, const char *who, PurpleConversation *conv, | 197 PurpleAccount *account, const char *who, PurpleConversation *conv, |
198 void *user_data, va_list choices); | 198 const char *ui_hint, void *user_data, va_list choices); |
199 void *(*request_action)(const char *title, const char *primary, | 199 void *(*request_action)(const char *title, const char *primary, |
200 const char *secondary, int default_action, | 200 const char *secondary, int default_action, |
201 PurpleAccount *account, const char *who, PurpleConversation *conv, | 201 PurpleAccount *account, const char *who, PurpleConversation *conv, |
202 void *user_data, size_t action_count, | 202 const char *ui_hint, void *user_data, size_t action_count, |
203 va_list actions); | 203 va_list actions); |
204 void *(*request_fields)(const char *title, const char *primary, | 204 void *(*request_fields)(const char *title, const char *primary, |
205 const char *secondary, PurpleRequestFields *fields, | 205 const char *secondary, PurpleRequestFields *fields, |
206 const char *ok_text, GCallback ok_cb, | 206 const char *ok_text, GCallback ok_cb, |
207 const char *cancel_text, GCallback cancel_cb, | 207 const char *cancel_text, GCallback cancel_cb, |
208 PurpleAccount *account, const char *who, PurpleConversation *conv, | 208 PurpleAccount *account, const char *who, PurpleConversation *conv, |
209 void *user_data); | 209 const char *ui_hint, void *user_data); |
210 void *(*request_file)(const char *title, const char *filename, | 210 void *(*request_file)(const char *title, const char *filename, |
211 gboolean savedialog, GCallback ok_cb, GCallback cancel_cb, | 211 gboolean savedialog, GCallback ok_cb, GCallback cancel_cb, |
212 PurpleAccount *account, const char *who, PurpleConversation *conv, | 212 PurpleAccount *account, const char *who, PurpleConversation *conv, |
213 void *user_data); | 213 const char *ui_hint, void *user_data); |
214 void (*close_request)(PurpleRequestType type, void *ui_handle); | 214 void (*close_request)(PurpleRequestType type, void *ui_handle); |
215 void *(*request_folder)(const char *title, const char *dirname, | 215 void *(*request_folder)(const char *title, const char *dirname, |
216 GCallback ok_cb, GCallback cancel_cb, | 216 GCallback ok_cb, GCallback cancel_cb, |
217 PurpleAccount *account, const char *who, PurpleConversation *conv, | 217 PurpleAccount *account, const char *who, PurpleConversation *conv, |
218 void *user_data); | 218 const char *ui_hint, void *user_data); |
219 | 219 |
220 void (*_purple_reserved1)(void); | 220 void (*_purple_reserved1)(void); |
221 void (*_purple_reserved2)(void); | 221 void (*_purple_reserved2)(void); |
222 void (*_purple_reserved3)(void); | 222 void (*_purple_reserved3)(void); |
223 void (*_purple_reserved4)(void); | 223 void (*_purple_reserved4)(void); |
1185 * @param cancel_text The text for the @c Cancel button. | 1185 * @param cancel_text The text for the @c Cancel button. |
1186 * @param cancel_cb The callback for the @c Cancel button. | 1186 * @param cancel_cb The callback for the @c Cancel button. |
1187 * @param account The PurpleAccount associated with this request, or NULL if none is | 1187 * @param account The PurpleAccount associated with this request, or NULL if none is |
1188 * @param who The username of the buddy assocaited with this request, or NULL if none is | 1188 * @param who The username of the buddy assocaited with this request, or NULL if none is |
1189 * @param conv The PurpleConversation associated with this request, or NULL if none is | 1189 * @param conv The PurpleConversation associated with this request, or NULL if none is |
1190 * @param ui_hint UI hint | |
1190 * @param user_data The data to pass to the callback. | 1191 * @param user_data The data to pass to the callback. |
1191 * | 1192 * |
1192 * @return A UI-specific handle. | 1193 * @return A UI-specific handle. |
1194 */ | |
1195 void *purple_request_input_with_hint(void *handle, const char *title, | |
1196 const char *primary, const char *secondary, | |
1197 const char *default_value, | |
1198 gboolean multiline, gboolean masked, gchar *hint, | |
1199 const char *ok_text, GCallback ok_cb, | |
1200 const char *cancel_text, GCallback cancel_cb, | |
1201 PurpleAccount *account, const char *who, PurpleConversation *conv, | |
1202 const char *ui_hint, void *user_data); | |
1203 | |
1204 /** | |
1205 * @deprecated Please use purple_request_input_with_hint() instead. | |
1193 */ | 1206 */ |
1194 void *purple_request_input(void *handle, const char *title, | 1207 void *purple_request_input(void *handle, const char *title, |
1195 const char *primary, const char *secondary, | 1208 const char *primary, const char *secondary, |
1196 const char *default_value, | 1209 const char *default_value, |
1197 gboolean multiline, gboolean masked, gchar *hint, | 1210 gboolean multiline, gboolean masked, gchar *hint, |
1215 * @param cancel_text The text for the @c Cancel button. | 1228 * @param cancel_text The text for the @c Cancel button. |
1216 * @param cancel_cb The callback for the @c Cancel button. | 1229 * @param cancel_cb The callback for the @c Cancel button. |
1217 * @param account The PurpleAccount associated with this request, or NULL if none is | 1230 * @param account The PurpleAccount associated with this request, or NULL if none is |
1218 * @param who The username of the buddy assocaited with this request, or NULL if none is | 1231 * @param who The username of the buddy assocaited with this request, or NULL if none is |
1219 * @param conv The PurpleConversation associated with this request, or NULL if none is | 1232 * @param conv The PurpleConversation associated with this request, or NULL if none is |
1233 * @param ui_hint UI hint | |
1220 * @param user_data The data to pass to the callback. | 1234 * @param user_data The data to pass to the callback. |
1221 * @param ... The choices. This argument list should be | 1235 * @param ... The choices. This argument list should be |
1222 * terminated with a NULL parameter. | 1236 * terminated with a NULL parameter. |
1223 * | 1237 * |
1224 * @return A UI-specific handle. | 1238 * @return A UI-specific handle. |
1239 */ | |
1240 void *purple_request_choice_with_hint(void *handle, const char *title, | |
1241 const char *primary, const char *secondary, | |
1242 int default_value, | |
1243 const char *ok_text, GCallback ok_cb, | |
1244 const char *cancel_text, GCallback cancel_cb, | |
1245 PurpleAccount *account, const char *who, PurpleConversation *conv, | |
1246 const char *ui_hint, void *user_data, ...) G_GNUC_NULL_TERMINATED; | |
1247 | |
1248 /** | |
1249 * @deprecated Please use purple_request_choice_with_hint() instead. | |
1225 */ | 1250 */ |
1226 void *purple_request_choice(void *handle, const char *title, | 1251 void *purple_request_choice(void *handle, const char *title, |
1227 const char *primary, const char *secondary, | 1252 const char *primary, const char *secondary, |
1228 int default_value, | 1253 int default_value, |
1229 const char *ok_text, GCallback ok_cb, | 1254 const char *ok_text, GCallback ok_cb, |
1246 * @param cancel_text The text for the @c Cancel button. | 1271 * @param cancel_text The text for the @c Cancel button. |
1247 * @param cancel_cb The callback for the @c Cancel button. | 1272 * @param cancel_cb The callback for the @c Cancel button. |
1248 * @param account The PurpleAccount associated with this request, or NULL if none is | 1273 * @param account The PurpleAccount associated with this request, or NULL if none is |
1249 * @param who The username of the buddy assocaited with this request, or NULL if none is | 1274 * @param who The username of the buddy assocaited with this request, or NULL if none is |
1250 * @param conv The PurpleConversation associated with this request, or NULL if none is | 1275 * @param conv The PurpleConversation associated with this request, or NULL if none is |
1276 * @param ui_hint UI hint | |
1251 * @param user_data The data to pass to the callback. | 1277 * @param user_data The data to pass to the callback. |
1252 * @param choices The choices. This argument list should be | 1278 * @param choices The choices. This argument list should be |
1253 * terminated with a @c NULL parameter. | 1279 * terminated with a @c NULL parameter. |
1254 * | 1280 * |
1255 * @return A UI-specific handle. | 1281 * @return A UI-specific handle. |
1282 */ | |
1283 void *purple_request_choice_varg_with_hint(void *handle, const char *title, | |
1284 const char *primary, const char *secondary, | |
1285 int default_value, | |
1286 const char *ok_text, GCallback ok_cb, | |
1287 const char *cancel_text, GCallback cancel_cb, | |
1288 PurpleAccount *account, const char *who, PurpleConversation *conv, | |
1289 const char *ui_hint, void *user_data, va_list choices); | |
1290 | |
1291 /** | |
1292 * @deprecated Please use purple_request_choice_varg_with_hint() instead. | |
1256 */ | 1293 */ |
1257 void *purple_request_choice_varg(void *handle, const char *title, | 1294 void *purple_request_choice_varg(void *handle, const char *title, |
1258 const char *primary, const char *secondary, | 1295 const char *primary, const char *secondary, |
1259 int default_value, | 1296 int default_value, |
1260 const char *ok_text, GCallback ok_cb, | 1297 const char *ok_text, GCallback ok_cb, |
1275 * @param secondary The secondary information. | 1312 * @param secondary The secondary information. |
1276 * @param default_action The default value. | 1313 * @param default_action The default value. |
1277 * @param account The PurpleAccount associated with this request, or NULL if none is | 1314 * @param account The PurpleAccount associated with this request, or NULL if none is |
1278 * @param who The username of the buddy assocaited with this request, or NULL if none is | 1315 * @param who The username of the buddy assocaited with this request, or NULL if none is |
1279 * @param conv The PurpleConversation associated with this request, or NULL if none is | 1316 * @param conv The PurpleConversation associated with this request, or NULL if none is |
1317 * @param ui_hint UI hint | |
1280 * @param user_data The data to pass to the callback. | 1318 * @param user_data The data to pass to the callback. |
1281 * @param action_count The number of actions. | 1319 * @param action_count The number of actions. |
1282 * @param ... A list of actions. These are pairs of | 1320 * @param ... A list of actions. These are pairs of |
1283 * arguments. The first of each pair is the | 1321 * arguments. The first of each pair is the |
1284 * string that appears on the button. It should | 1322 * string that appears on the button. It should |
1286 * to use as the accelerator key for the button. | 1324 * to use as the accelerator key for the button. |
1287 * The second of each pair is the callback | 1325 * The second of each pair is the callback |
1288 * function to use when the button is clicked. | 1326 * function to use when the button is clicked. |
1289 * | 1327 * |
1290 * @return A UI-specific handle. | 1328 * @return A UI-specific handle. |
1329 */ | |
1330 void *purple_request_action_with_hint(void *handle, const char *title, | |
1331 const char *primary, const char *secondary, | |
1332 int default_action, | |
1333 PurpleAccount *account, const char *who, PurpleConversation *conv, | |
1334 const char *ui_hint, void *user_data, size_t action_count, ...); | |
1335 | |
1336 /** | |
1337 * @deprecated Please use purple_request_action_with_hint() instead. | |
1291 */ | 1338 */ |
1292 void *purple_request_action(void *handle, const char *title, | 1339 void *purple_request_action(void *handle, const char *title, |
1293 const char *primary, const char *secondary, | 1340 const char *primary, const char *secondary, |
1294 int default_action, | 1341 int default_action, |
1295 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1342 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1308 * @param secondary The secondary information. | 1355 * @param secondary The secondary information. |
1309 * @param default_action The default value. | 1356 * @param default_action The default value. |
1310 * @param account The PurpleAccount associated with this request, or NULL if none is | 1357 * @param account The PurpleAccount associated with this request, or NULL if none is |
1311 * @param who The username of the buddy assocaited with this request, or NULL if none is | 1358 * @param who The username of the buddy assocaited with this request, or NULL if none is |
1312 * @param conv The PurpleConversation associated with this request, or NULL if none is | 1359 * @param conv The PurpleConversation associated with this request, or NULL if none is |
1360 * @param ui_hint UI hint | |
1313 * @param user_data The data to pass to the callback. | 1361 * @param user_data The data to pass to the callback. |
1314 * @param action_count The number of actions. | 1362 * @param action_count The number of actions. |
1315 * @param actions A list of actions and callbacks. | 1363 * @param actions A list of actions and callbacks. |
1316 * | 1364 * |
1317 * @return A UI-specific handle. | 1365 * @return A UI-specific handle. |
1366 */ | |
1367 void *purple_request_action_varg_with_hint(void *handle, const char *title, | |
1368 const char *primary, const char *secondary, | |
1369 int default_action, | |
1370 PurpleAccount *account, const char *who, PurpleConversation *conv, | |
1371 const char *ui_hint, void *user_data, size_t action_count, | |
1372 va_list actions); | |
1373 | |
1374 /** | |
1375 * @deprecated Please use purple_request_action_varg_with_hint() instead. | |
1318 */ | 1376 */ |
1319 void *purple_request_action_varg(void *handle, const char *title, | 1377 void *purple_request_action_varg(void *handle, const char *title, |
1320 const char *primary, const char *secondary, | 1378 const char *primary, const char *secondary, |
1321 int default_action, | 1379 int default_action, |
1322 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1380 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1338 * @param cancel_text The text for the @c Cancel button. | 1396 * @param cancel_text The text for the @c Cancel button. |
1339 * @param cancel_cb The callback for the @c Cancel button. | 1397 * @param cancel_cb The callback for the @c Cancel button. |
1340 * @param account The PurpleAccount associated with this request, or NULL if none is | 1398 * @param account The PurpleAccount associated with this request, or NULL if none is |
1341 * @param who The username of the buddy associated with this request, or NULL if none is | 1399 * @param who The username of the buddy associated with this request, or NULL if none is |
1342 * @param conv The PurpleConversation associated with this request, or NULL if none is | 1400 * @param conv The PurpleConversation associated with this request, or NULL if none is |
1401 * @param ui_hint UI hint | |
1343 * @param user_data The data to pass to the callback. | 1402 * @param user_data The data to pass to the callback. |
1344 * | 1403 * |
1345 * @return A UI-specific handle. | 1404 * @return A UI-specific handle. |
1405 */ | |
1406 void *purple_request_fields_with_hint(void *handle, const char *title, | |
1407 const char *primary, const char *secondary, | |
1408 PurpleRequestFields *fields, | |
1409 const char *ok_text, GCallback ok_cb, | |
1410 const char *cancel_text, GCallback cancel_cb, | |
1411 PurpleAccount *account, const char *who, PurpleConversation *conv, | |
1412 const char *ui_hint, void *user_data); | |
1413 | |
1414 /** | |
1415 * @deprecated Please use purple_request_fields_with_hint() instead. | |
1346 */ | 1416 */ |
1347 void *purple_request_fields(void *handle, const char *title, | 1417 void *purple_request_fields(void *handle, const char *title, |
1348 const char *primary, const char *secondary, | 1418 const char *primary, const char *secondary, |
1349 PurpleRequestFields *fields, | 1419 PurpleRequestFields *fields, |
1350 const char *ok_text, GCallback ok_cb, | 1420 const char *ok_text, GCallback ok_cb, |
1368 void purple_request_close_with_handle(void *handle); | 1438 void purple_request_close_with_handle(void *handle); |
1369 | 1439 |
1370 /** | 1440 /** |
1371 * A wrapper for purple_request_action() that uses @c Yes and @c No buttons. | 1441 * A wrapper for purple_request_action() that uses @c Yes and @c No buttons. |
1372 */ | 1442 */ |
1443 #define purple_request_yes_no_with_hint(handle, title, primary, secondary, \ | |
1444 default_action, account, who, conv, \ | |
1445 ui_hint, user_data, yes_cb, no_cb) \ | |
1446 purple_request_action_with_hint((handle), (title), (primary), (secondary), \ | |
1447 (default_action), account, who, conv, (ui_hint), (user_data), 2, \ | |
1448 _("_Yes"), (yes_cb), _("_No"), (no_cb)) | |
1449 | |
1450 /** | |
1451 * @deprecated Please use purple_request_yes_no_with_hint instead. | |
1452 */ | |
1373 #define purple_request_yes_no(handle, title, primary, secondary, \ | 1453 #define purple_request_yes_no(handle, title, primary, secondary, \ |
1374 default_action, account, who, conv, \ | 1454 default_action, account, who, conv, \ |
1375 user_data, yes_cb, no_cb) \ | 1455 user_data, yes_cb, no_cb) \ |
1376 purple_request_action((handle), (title), (primary), (secondary), \ | 1456 purple_request_action((handle), (title), (primary), (secondary), \ |
1377 (default_action), account, who, conv, (user_data), 2, \ | 1457 (default_action), account, who, conv, (user_data), 2, \ |
1378 _("_Yes"), (yes_cb), _("_No"), (no_cb)) | 1458 _("_Yes"), (yes_cb), _("_No"), (no_cb)) |
1379 | 1459 |
1380 /** | 1460 /** |
1381 * A wrapper for purple_request_action() that uses @c OK and @c Cancel buttons. | 1461 * A wrapper for purple_request_action() that uses @c OK and @c Cancel buttons. |
1382 */ | 1462 */ |
1463 #define purple_request_ok_cancel_with_hint(handle, title, primary, secondary, \ | |
1464 default_action, account, who, conv, \ | |
1465 ui_hint, user_data, ok_cb, cancel_cb) \ | |
1466 purple_request_action_with_hint((handle), (title), (primary), (secondary), \ | |
1467 (default_action), account, who, conv, (ui_hint), (user_data), 2, \ | |
1468 _("_OK"), (ok_cb), _("_Cancel"), (cancel_cb)) | |
1469 | |
1470 /** | |
1471 * @deprecated Please use purple_request_ok_cancel_with_hint instead. | |
1472 */ | |
1383 #define purple_request_ok_cancel(handle, title, primary, secondary, \ | 1473 #define purple_request_ok_cancel(handle, title, primary, secondary, \ |
1384 default_action, account, who, conv, \ | 1474 default_action, account, who, conv, \ |
1385 user_data, ok_cb, cancel_cb) \ | 1475 user_data, ok_cb, cancel_cb) \ |
1386 purple_request_action((handle), (title), (primary), (secondary), \ | 1476 purple_request_action((handle), (title), (primary), (secondary), \ |
1387 (default_action), account, who, conv, (user_data), 2, \ | 1477 (default_action), account, who, conv, (user_data), 2, \ |
1388 _("_OK"), (ok_cb), _("_Cancel"), (cancel_cb)) | 1478 _("_OK"), (ok_cb), _("_Cancel"), (cancel_cb)) |
1389 | 1479 |
1390 /** | 1480 /** |
1391 * A wrapper for purple_request_action() that uses Accept and Cancel buttons. | 1481 * A wrapper for purple_request_action() that uses Accept and Cancel buttons. |
1482 */ | |
1483 #define purple_request_accept_cancel_with_hint(handle, title, primary, secondary, \ | |
1484 default_action, account, who, conv, \ | |
1485 ui_hint, user_data, accept_cb, cancel_cb) \ | |
1486 purple_request_action_with_hint((handle), (title), (primary), (secondary), \ | |
1487 (default_action), account, who, conv, (ui_hint), (user_data), 2, \ | |
1488 _("_Accept"), (accept_cb), _("_Cancel"), (cancel_cb)) | |
1489 | |
1490 /** | |
1491 * @deprecated Please use purple_request_accept_cancel_with_hint instead. | |
1392 */ | 1492 */ |
1393 #define purple_request_accept_cancel(handle, title, primary, secondary, \ | 1493 #define purple_request_accept_cancel(handle, title, primary, secondary, \ |
1394 default_action, account, who, conv, \ | 1494 default_action, account, who, conv, \ |
1395 user_data, accept_cb, cancel_cb) \ | 1495 user_data, accept_cb, cancel_cb) \ |
1396 purple_request_action((handle), (title), (primary), (secondary), \ | 1496 purple_request_action((handle), (title), (primary), (secondary), \ |
1411 * @param ok_cb The callback for the @c OK button. | 1511 * @param ok_cb The callback for the @c OK button. |
1412 * @param cancel_cb The callback for the @c Cancel button. | 1512 * @param cancel_cb The callback for the @c Cancel button. |
1413 * @param account The PurpleAccount associated with this request, or NULL if none is | 1513 * @param account The PurpleAccount associated with this request, or NULL if none is |
1414 * @param who The username of the buddy assocaited with this request, or NULL if none is | 1514 * @param who The username of the buddy assocaited with this request, or NULL if none is |
1415 * @param conv The PurpleConversation associated with this request, or NULL if none is | 1515 * @param conv The PurpleConversation associated with this request, or NULL if none is |
1516 * @param ui_hint UI hint | |
1416 * @param user_data The data to pass to the callback. | 1517 * @param user_data The data to pass to the callback. |
1417 * | 1518 * |
1418 * @return A UI-specific handle. | 1519 * @return A UI-specific handle. |
1520 */ | |
1521 void *purple_request_file_with_hint(void *handle, const char *title, const char *filename, | |
1522 gboolean savedialog, | |
1523 GCallback ok_cb, GCallback cancel_cb, | |
1524 PurpleAccount *account, const char *who, PurpleConversation *conv, | |
1525 const char *ui_hint, void *user_data); | |
1526 | |
1527 /** | |
1528 * @deprecated Please use purple_request_file_with_hint() instead. | |
1419 */ | 1529 */ |
1420 void *purple_request_file(void *handle, const char *title, const char *filename, | 1530 void *purple_request_file(void *handle, const char *title, const char *filename, |
1421 gboolean savedialog, | 1531 gboolean savedialog, |
1422 GCallback ok_cb, GCallback cancel_cb, | 1532 GCallback ok_cb, GCallback cancel_cb, |
1423 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1533 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1435 * @param ok_cb The callback for the @c OK button. | 1545 * @param ok_cb The callback for the @c OK button. |
1436 * @param cancel_cb The callback for the @c Cancel button. | 1546 * @param cancel_cb The callback for the @c Cancel button. |
1437 * @param account The PurpleAccount associated with this request, or NULL if none is | 1547 * @param account The PurpleAccount associated with this request, or NULL if none is |
1438 * @param who The username of the buddy assocaited with this request, or NULL if none is | 1548 * @param who The username of the buddy assocaited with this request, or NULL if none is |
1439 * @param conv The PurpleConversation associated with this request, or NULL if none is | 1549 * @param conv The PurpleConversation associated with this request, or NULL if none is |
1550 * @param ui_hint UI hint | |
1440 * @param user_data The data to pass to the callback. | 1551 * @param user_data The data to pass to the callback. |
1441 * | 1552 * |
1442 * @return A UI-specific handle. | 1553 * @return A UI-specific handle. |
1554 */ | |
1555 void *purple_request_folder_with_hint(void *handle, const char *title, const char *dirname, | |
1556 GCallback ok_cb, GCallback cancel_cb, | |
1557 PurpleAccount *account, const char *who, PurpleConversation *conv, | |
1558 const char *ui_hint, void *user_data); | |
1559 | |
1560 /** | |
1561 * @deprecated Please use purple_request_folder_with_hint() instead. | |
1443 */ | 1562 */ |
1444 void *purple_request_folder(void *handle, const char *title, const char *dirname, | 1563 void *purple_request_folder(void *handle, const char *title, const char *dirname, |
1445 GCallback ok_cb, GCallback cancel_cb, | 1564 GCallback ok_cb, GCallback cancel_cb, |
1446 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1565 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1447 void *user_data); | 1566 void *user_data); |