2019-03-17 21:19:15 +01:00
|
|
|
package widgets
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
type TabHost interface {
|
2019-11-15 21:28:34 +01:00
|
|
|
BeginExCommand(cmd string)
|
2019-03-17 21:19:15 +01:00
|
|
|
SetStatus(status string) *StatusMessage
|
2020-05-27 07:37:02 +02:00
|
|
|
SetError(err string) *StatusMessage
|
2019-03-17 21:19:15 +01:00
|
|
|
PushStatus(text string, expiry time.Duration) *StatusMessage
|
2020-05-27 07:37:02 +02:00
|
|
|
PushError(text string, expiry time.Duration) *StatusMessage
|
|
|
|
PushSuccess(text string, expiry time.Duration) *StatusMessage
|
2019-07-29 16:50:02 +02:00
|
|
|
Beep()
|
2019-03-17 21:19:15 +01:00
|
|
|
}
|