| 382 | | <!-- ##### USER_FUNCTION TnyGetPassFunc ##### --> |
|---|
| 383 | | <para> |
|---|
| 384 | | This method happens whenever the password must be requested from the user. You must return the password for #TnyAccount self. |
|---|
| 385 | | </para> |
|---|
| 386 | | |
|---|
| 387 | | @self: The #TnyAccount instance for which the password is needed |
|---|
| 388 | | @prompt: A prompt that you can display to the user. This is a human-readable password question, possibly |
|---|
| 389 | | containing an untranslated error message directly from the server. This should be ignored by most |
|---|
| 390 | | implementations, so NULL is an acceptable value. |
|---|
| 391 | | @cancel: A by-ref boolean for if the user wants to cancel the connection request |
|---|
| 392 | | @Returns: Return the password for #TnyAccount self entered by the user. |
|---|
| 393 | | |
|---|
| 394 | | |
|---|
| 395 | | <!-- ##### USER_FUNCTION TnyForgetPassFunc ##### --> |
|---|
| 396 | | <para> |
|---|
| 397 | | This method happens in case the password was wrong. Also take a look at tny_account_set_forget_pass_func |
|---|
| 398 | | </para> |
|---|
| 399 | | |
|---|
| 400 | | @self: the #TnyAccount instance of which the password was wrong |
|---|
| 401 | | |
|---|
| 402 | | |
|---|
| 403 | | <!-- ##### USER_FUNCTION TnyRefreshFolderCallback ##### --> |
|---|
| 404 | | <para> |
|---|
| 405 | | A method that gets called after tny_folder_refresh_async is finished |
|---|
| 406 | | refreshing the folder, in case there was an error or in case the |
|---|
| 407 | | refreshing of the folder got cancelled. |
|---|
| 408 | | </para> |
|---|
| 409 | | |
|---|
| 410 | | @self: the #TnyFolder instance that got refreshed |
|---|
| 411 | | @cancelled: whether or not the operation got cancelled |
|---|
| 412 | | @err: in case there was an error, this !GError instance is not NULL |
|---|
| 413 | | @user_data: user data passed at the caller |
|---|
| 414 | | |
|---|
| 415 | | |
|---|
| 416 | | <!-- ##### USER_FUNCTION TnyGetHeadersCallback ##### --> |
|---|
| 417 | | <para> |
|---|
| 418 | | |
|---|
| 419 | | </para> |
|---|
| 420 | | |
|---|
| 421 | | @self: |
|---|
| 422 | | @cancelled: |
|---|
| 423 | | @headers: |
|---|
| 424 | | @err: |
|---|
| 425 | | @user_data: |
|---|
| 426 | | |
|---|
| 427 | | |
|---|
| 428 | | <!-- ##### USER_FUNCTION TnyGetMsgCallback ##### --> |
|---|
| 429 | | <para> |
|---|
| 430 | | A method that gets called after tny_folder_get_msg_async is finished |
|---|
| 431 | | getting the message or in case there was an error. |
|---|
| 432 | | </para> |
|---|
| 433 | | |
|---|
| 434 | | @folder: the #TnyFolder instance from which the message was requested |
|---|
| 435 | | @cancelled: |
|---|
| 436 | | @msg: the #TnyMsg instance that was requested |
|---|
| 437 | | @err: in case there was an error, this !GError instance is not NULL |
|---|
| 438 | | @user_data: user data passed at the caller |
|---|
| 439 | | |
|---|
| 440 | | |
|---|
| 441 | | <!-- ##### USER_FUNCTION TnySyncFolderCallback ##### --> |
|---|
| 442 | | <para> |
|---|
| 443 | | |
|---|
| 444 | | </para> |
|---|
| 445 | | |
|---|
| 446 | | @folder: |
|---|
| 447 | | @cancelled: |
|---|
| 448 | | @err: |
|---|
| 449 | | @user_data: |
|---|
| 450 | | |
|---|
| 451 | | |
|---|
| 452 | | <!-- ##### USER_FUNCTION TnyTransferMsgsCallback ##### --> |
|---|
| 453 | | <para> |
|---|
| 454 | | A method that gets called after tny_folder_transfer_msgs_async is finished |
|---|
| 455 | | transferring the messages. |
|---|
| 456 | | </para> |
|---|
| 457 | | |
|---|
| 458 | | @folder: the #TnyFolder instance from which the messages where transferred |
|---|
| 459 | | @cancelled: |
|---|
| 460 | | @err: in case there was an error, this !GError instance is not NULL |
|---|
| 461 | | @user_data: user data passed at the caller |
|---|
| 462 | | |
|---|
| 463 | | |
|---|
| 464 | | <!-- ##### USER_FUNCTION TnyStatusCallback ##### --> |
|---|
| 465 | | <para> |
|---|
| 466 | | A method that gets called whenever there's a status event |
|---|
| 467 | | </para> |
|---|
| 468 | | |
|---|
| 469 | | @self: The sender of the status |
|---|
| 470 | | @status: a #TnyStatus object |
|---|
| 471 | | @user_data: user data passed by the caller |
|---|
| 472 | | |
|---|
| 473 | | |
|---|
| | 690 | <!-- ##### USER_FUNCTION TnyGetPassFunc ##### --> |
|---|
| | 691 | <para> |
|---|
| | 692 | This method happens whenever the password must be requested from the user. You must return the password for #TnyAccount self. |
|---|
| | 693 | </para> |
|---|
| | 694 | |
|---|
| | 695 | @self: The #TnyAccount instance for which the password is needed |
|---|
| | 696 | @prompt: A prompt that you can display to the user. This is a human-readable password question, possibly |
|---|
| | 697 | containing an untranslated error message directly from the server. This should be ignored by most |
|---|
| | 698 | implementations, so NULL is an acceptable value. |
|---|
| | 699 | @cancel: A by-ref boolean for if the user wants to cancel the connection request |
|---|
| | 700 | @Returns: Return the password for #TnyAccount self entered by the user. |
|---|
| | 701 | |
|---|
| | 702 | |
|---|
| | 703 | <!-- ##### USER_FUNCTION TnyForgetPassFunc ##### --> |
|---|
| | 704 | <para> |
|---|
| | 705 | This method happens in case the password was wrong. Also take a look at tny_account_set_forget_pass_func |
|---|
| | 706 | </para> |
|---|
| | 707 | |
|---|
| | 708 | @self: the #TnyAccount instance of which the password was wrong |
|---|
| | 709 | |
|---|
| | 710 | |
|---|
| | 711 | <!-- ##### USER_FUNCTION TnyFolderCallback ##### --> |
|---|
| | 712 | <para> |
|---|
| | 713 | |
|---|
| | 714 | </para> |
|---|
| | 715 | |
|---|
| | 716 | @self: |
|---|
| | 717 | @cancelled: |
|---|
| | 718 | @err: |
|---|
| | 719 | @user_data: |
|---|
| | 720 | |
|---|
| | 721 | |
|---|
| | 722 | <!-- ##### USER_FUNCTION TnyGetHeadersCallback ##### --> |
|---|
| | 723 | <para> |
|---|
| | 724 | |
|---|
| | 725 | </para> |
|---|
| | 726 | |
|---|
| | 727 | @self: |
|---|
| | 728 | @cancelled: |
|---|
| | 729 | @headers: |
|---|
| | 730 | @err: |
|---|
| | 731 | @user_data: |
|---|
| | 732 | |
|---|
| | 733 | |
|---|
| | 734 | <!-- ##### USER_FUNCTION TnyGetMsgCallback ##### --> |
|---|
| | 735 | <para> |
|---|
| | 736 | A method that gets called after tny_folder_get_msg_async is finished |
|---|
| | 737 | getting the message or in case there was an error. |
|---|
| | 738 | </para> |
|---|
| | 739 | |
|---|
| | 740 | @folder: the #TnyFolder instance from which the message was requested |
|---|
| | 741 | @cancelled: |
|---|
| | 742 | @msg: the #TnyMsg instance that was requested |
|---|
| | 743 | @err: in case there was an error, this !GError instance is not NULL |
|---|
| | 744 | @user_data: user data passed at the caller |
|---|
| | 745 | |
|---|
| | 746 | |
|---|
| | 747 | <!-- ##### USER_FUNCTION TnyTransferMsgsCallback ##### --> |
|---|
| | 748 | <para> |
|---|
| | 749 | A method that gets called after tny_folder_transfer_msgs_async is finished |
|---|
| | 750 | transferring the messages. |
|---|
| | 751 | </para> |
|---|
| | 752 | |
|---|
| | 753 | @folder: the #TnyFolder instance from which the messages where transferred |
|---|
| | 754 | @cancelled: |
|---|
| | 755 | @err: in case there was an error, this !GError instance is not NULL |
|---|
| | 756 | @user_data: user data passed at the caller |
|---|
| | 757 | |
|---|
| | 758 | |
|---|
| | 759 | <!-- ##### USER_FUNCTION TnyStatusCallback ##### --> |
|---|
| | 760 | <para> |
|---|
| | 761 | A method that gets called whenever there's a status event |
|---|
| | 762 | </para> |
|---|
| | 763 | |
|---|
| | 764 | @self: The sender of the status |
|---|
| | 765 | @status: a #TnyStatus object |
|---|
| | 766 | @user_data: user data passed by the caller |
|---|
| | 767 | |
|---|
| | 768 | |
|---|
| | 769 | <!-- ##### USER_FUNCTION TnyGetFoldersCallback ##### --> |
|---|
| | 770 | <para> |
|---|
| | 771 | A method that happens after tny_folder_store_get_folders_async is finished |
|---|
| | 772 | </para> |
|---|
| | 773 | |
|---|
| | 774 | @self: the #TnyFolderStore from which the child folders where requested |
|---|
| | 775 | @cancelled: |
|---|
| | 776 | @list: a #TnyList with #TnyFolder instances (the requested children of @self) |
|---|
| | 777 | @err: in case there was an error, this !GError instance is not NULL |
|---|
| | 778 | @user_data: user data passed at the caller |
|---|
| | 779 | |
|---|
| | 780 | |
|---|
| | 781 | <!-- ##### USER_FUNCTION TnyCopyFolderCallback ##### --> |
|---|
| | 782 | <para> |
|---|
| | 783 | |
|---|
| | 784 | </para> |
|---|
| | 785 | |
|---|
| | 786 | @self: |
|---|
| | 787 | @cancelled: |
|---|
| | 788 | @into: |
|---|
| | 789 | @new_folder: |
|---|
| | 790 | @err: |
|---|
| | 791 | @user_data: |
|---|
| | 792 | |
|---|
| | 793 | |
|---|
| | 794 | <!-- ##### USER_FUNCTION TnySendQueueAddCallback ##### --> |
|---|
| | 795 | <para> |
|---|
| | 796 | |
|---|
| | 797 | </para> |
|---|
| | 798 | |
|---|
| | 799 | @self: |
|---|
| | 800 | @cancelled: |
|---|
| | 801 | @msg: |
|---|
| | 802 | @err: |
|---|
| | 803 | @user_data: |
|---|
| | 804 | |
|---|
| | 805 | |
|---|