1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Add the Enabler and TextViewer interfaces

This commit is contained in:
Chris Cummer 2018-04-07 14:39:28 -07:00 committed by Chris Cummer
parent 79bc8216d6
commit cbf5b45c62
2 changed files with 7 additions and 2 deletions

6
wtf/enabler.go Normal file
View File

@ -0,0 +1,6 @@
package wtf
type Enabler interface {
Disabled() bool
Enabled() bool
}

View File

@ -5,7 +5,6 @@ import (
)
type TextViewer interface {
Disabled() bool
Enabled() bool
Enabler
TextView() *tview.TextView
}