aerc/widgets/providesmessage.go

15 lines
282 B
Go

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
}