about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--widgets/providesmessage.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/providesmessage.go b/widgets/providesmessage.go
index 34b9011..06115d5 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)
+}