add ProvidesMessages interface
This commit is contained in:
parent
fad375c673
commit
b57a47a74f
1 changed files with 8 additions and 0 deletions
|
@ -20,3 +20,11 @@ type ProvidesMessage interface {
|
|||
SelectedMessage() (*models.MessageInfo, error)
|
||||
SelectedMessagePart() *PartInfo
|
||||
}
|
||||
|
||||
type ProvidesMessages interface {
|
||||
ui.Drawable
|
||||
Store() *lib.MessageStore
|
||||
SelectedAccount() *AccountView
|
||||
SelectedMessage() (*models.MessageInfo, error)
|
||||
MarkedMessages() ([]*models.MessageInfo, error)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue