about summary refs log tree commit diff stats
path: root/widgets/providesmessage.go
blob: 7be8e7ed2f1fcc031f8eb478c3662497acc8e9c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package widgets

import (
	"git.sr.ht/~sircmpwn/aerc/lib"
	"git.sr.ht/~sircmpwn/aerc/lib/ui"
	"git.sr.ht/~sircmpwn/aerc/worker/types"
)

type ProvidesMessage interface {
	ui.Drawable
	Store() *lib.MessageStore
	SelectedMessage() *types.MessageInfo
	SelectedAccount() *AccountView
}