aboutsummaryrefslogtreecommitdiff
path: root/widgets/providesmessage.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/providesmessage.go')
-rw-r--r--widgets/providesmessage.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/widgets/providesmessage.go b/widgets/providesmessage.go
new file mode 100644
index 0000000..341f83f
--- /dev/null
+++ b/widgets/providesmessage.go
@@ -0,0 +1,14 @@
+package widgets
+
+import (
+ "git.sr.ht/~sircmpwn/aerc/worker/types"
+ "git.sr.ht/~sircmpwn/aerc/lib"
+ "git.sr.ht/~sircmpwn/aerc/lib/ui"
+)
+
+type ProvidesMessage interface {
+ ui.Drawable
+ Store() *lib.MessageStore
+ SelectedMessage() *types.MessageInfo
+ SelectedAccount() *AccountView
+}