add ProvidesMessages interface

This commit is contained in:
Reto Brunner 2019-12-18 06:33:55 +01:00 committed by Drew DeVault
parent fad375c673
commit b57a47a74f

View file

@ -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)
}