aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-12-18 06:33:55 +0100
committerDrew DeVault <sir@cmpwn.com>2019-12-21 09:27:47 -0500
commitb57a47a74f3b3febdbd13abcaf64eee97c81bf56 (patch)
treefb4cd4dcf1f2ce99999ae357dd7d8fa2a6419667 /widgets
parentfad375c673e7bab4b01bbe6a774fae460ce62b86 (diff)
downloadaerc-b57a47a74f3b3febdbd13abcaf64eee97c81bf56.tar.gz
add ProvidesMessages interface
Diffstat (limited to 'widgets')
-rw-r--r--widgets/providesmessage.go8
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)
+}