about summary refs log tree commit diff stats
path: root/200.txt
Commit message (Expand)AuthorAgeFilesLines
* 6612 - reorganize layersKartik Agaram2020-07-051-0/+5
4 -0700 committer Drew DeVault <sir@cmpwn.com> 2019-06-02 10:16:29 -0400 widget: Add ProvidesMessage interface' href='/akspecs/aerc/commit/widgets/providesmessage.go?id=753adb90692e4821f8caea1d5d86cd69e312efa7'>753adb9 ^
cce7cb4 ^
753adb9 ^

363aab5 ^

c610c3c ^

363aab5 ^


753adb9 ^

7d17707 ^
753adb9 ^
217e85a ^
363aab5 ^
753adb9 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22


               

                                         
                                         

 

                      

                                   


                               

                                
                                 
                                      
                                                      
                                       
 
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
}