From b57a47a74f3b3febdbd13abcaf64eee97c81bf56 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Wed, 18 Dec 2019 06:33:55 +0100 Subject: add ProvidesMessages interface --- widgets/providesmessage.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'widgets') diff --git a/widgets/providesmessage.go b/widgets/providesmessage.go index 34b90112..06115d5f 100644 --- a/widgets/providesmessage.go +++ b/widgets/providesmessage.go @@ -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) +} -- cgit