1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
wtf/wtf/wtfable.go
2019-07-17 07:11:43 -07:00

25 lines
407 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
BorderColor() string
ConfigText() string
FocusChar() string
Focusable() bool
HelpText() string
Name() string
SetFocusChar(string)
TextView() *tview.TextView
CommonSettings() *cfg.Common
}