mirror of
https://git.sr.ht/~sircmpwn/aerc
synced 2024-11-23 16:42:07 +01:00
23 lines
439 B
Go
23 lines
439 B
Go
package widgets
|
|
|
|
import (
|
|
"git.sr.ht/~sircmpwn/aerc/lib"
|
|
"git.sr.ht/~sircmpwn/aerc/lib/ui"
|
|
"git.sr.ht/~sircmpwn/aerc/models"
|
|
)
|
|
|
|
type PartInfo struct {
|
|
Index []int
|
|
Msg *models.MessageInfo
|
|
Part *models.BodyStructure
|
|
Store *lib.MessageStore
|
|
}
|
|
|
|
type ProvidesMessage interface {
|
|
ui.Drawable
|
|
Store() *lib.MessageStore
|
|
SelectedAccount() *AccountView
|
|
SelectedMessage() (*models.MessageInfo, error)
|
|
SelectedMessagePart() *PartInfo
|
|
}
|