2008-11-01 17:32:06 -04:00
|
|
|
|
2010-05-19 14:17:06 -04:00
|
|
|
package com.fsck.k9.controller;
|
|
|
|
|
|
|
|
import com.fsck.k9.mail.Message;
|
2008-11-01 17:32:06 -04:00
|
|
|
|
2011-02-06 17:09:48 -05:00
|
|
|
public interface MessageRetrievalListener {
|
2008-11-01 17:32:06 -04:00
|
|
|
public void messageStarted(String uid, int number, int ofTotal);
|
|
|
|
|
|
|
|
public void messageFinished(Message message, int number, int ofTotal);
|
2009-11-24 19:40:29 -05:00
|
|
|
|
2010-12-19 06:51:54 -05:00
|
|
|
/**
|
|
|
|
* FIXME <strong>this method is almost never invoked by various Stores! Don't rely on it unless fixed!!</strong>
|
2010-12-24 13:55:05 -05:00
|
|
|
*
|
2010-12-19 06:51:54 -05:00
|
|
|
* @param total
|
|
|
|
*/
|
2009-10-21 20:41:06 -04:00
|
|
|
public void messagesFinished(int total);
|
2008-11-01 17:32:06 -04:00
|
|
|
}
|