aerc/widgets/providesmessage.go
2019-06-02 10:23:53 -04:00

14 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
}