aboutsummaryrefslogtreecommitdiff
path: root/widgets/providesmessage.go
blob: 341f83fa382b95169257b6c13d4b407a15599c21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}