1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
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
}