aboutsummaryrefslogtreecommitdiff
path: root/widgets/providesmessage.go
blob: cff546bcdeb9dc32fee7e5aa57be9a6df738460d (plain)
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/models"
)

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