1
0
mirror of https://github.com/taigrr/wtf synced 2026-03-31 00:35:15 -07:00
Files
wtf/wtf/wtfable.go
2020-10-11 16:55:16 -07:00

27 lines
440 B
Go

package wtf
import (
"github.com/wtfutil/wtf/cfg"
"github.com/rivo/tview"
)
// Wtfable is the interface that enforces WTF system capabilities on a module
type Wtfable interface {
Enablable
Schedulable
Stoppable
BorderColor() string
ConfigText() string
FocusChar() string
Focusable() bool
HelpText() string
Name() string
QuitChan() chan bool
SetFocusChar(string)
TextView() *tview.TextView
CommonSettings() *cfg.Common
}