/**
* GetMsgAsyncUserCallback:
*
- * @obj: a #GObject generic object which has created current mail operation.
+ * @mail_op: the current #ModestMailOperation.
+ * @header: a #TnyHeader summary item.
* @msg: a #TnyMsg message retrieved by async operation.
* @user_data: generic data passed to user defined function.
*
/**
* RefreshAsyncUserCallback:
*
- * @obj: a #GObject generic object which has created current mail operation.
+ * @mail_op: the current #ModestMailOperation.
* @folder: a #TnyFolder which has been refreshed .
* @user_data: generic data passed to user defined function.
*
* used as tinymail operation callback. The private function fills private
* fields of mail operation and calls user defined callback if it exists.
*/
-typedef void (*RefreshAsyncUserCallback) (const GObject *obj,
+typedef void (*RefreshAsyncUserCallback) (ModestMailOperation *mail_op,
TnyFolder *folder,
gpointer user_data);
* @folder: a #TnyFolder
* @parent: the new parent of the folder as #TnyFolderStore
* @delete_original: wheter or not delete the original folder
+ * @user_callback: a #XferMsgsAsynUserCallback function to call after tinymail callback execution.
+ * @user_data: generic user data which will be passed to @user_callback function.
*
* Sets the given @folder as child of a provided #TnyFolderStore. This
* operation also transfers all the messages contained in the folder
void modest_mail_operation_xfer_folder (ModestMailOperation *self,
TnyFolder *folder,
TnyFolderStore *parent,
- gboolean delete_original);
+ gboolean delete_original,
+ XferMsgsAsynUserCallback user_callback,
+ gpointer user_data);
+
/* Functions that performs msg operations */