WIP: updatable

This commit is contained in:
Christophe Benz 2010-03-26 20:14:10 +01:00 committed by Christophe Benz
commit b08db0035e
4 changed files with 52 additions and 6 deletions

View file

@ -78,12 +78,11 @@ class Message:
return result.encode('utf-8')
class ICapMessages:
def iter_new_messages(self, thread=None):
def iter_messages(self):
"""
Iterates on new messages from last time this function has been called.
@param thread [str] if given, get new messages for a specific thread.
@return [list] a list of Message objects.
@return [list] Message objects
"""
raise NotImplementedError()