diff options
author | Reto Brunner <reto@labrat.space> | 2019-12-18 06:33:55 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-21 09:27:47 -0500 |
commit | b57a47a74f3b3febdbd13abcaf64eee97c81bf56 (patch) | |
tree | fb4cd4dcf1f2ce99999ae357dd7d8fa2a6419667 /widgets | |
parent | fad375c673e7bab4b01bbe6a774fae460ce62b86 (diff) | |
download | aerc-b57a47a74f3b3febdbd13abcaf64eee97c81bf56.tar.gz |
add ProvidesMessages interface
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/providesmessage.go | 8 |
1 files changed, 8 insertions, 0 deletions
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) +} |