blob: 60300628f232ea2cd471cf1699575ead27559d89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package at.hannibal2.skyhanni.events
import at.hannibal2.skyhanni.data.model.TabWidget
/** The events get send on change of the widget and on island switch */
open class WidgetUpdateEvent(
val widget: TabWidget,
val lines: List<String>,
) : LorenzEvent() {
fun isWidget(widgetType: TabWidget) = widget == widgetType
fun isClear() = lines.isEmpty()
}
|