mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-04-14 02:12:10 +02:00
10 lines
528 B
Kotlin
10 lines
528 B
Kotlin
package com.simplemobiletools.clock.models
|
|
|
|
sealed class TimerEvent(open val timerId: Int) {
|
|
data class Reset(override val timerId: Int, val duration: Long) : TimerEvent(timerId)
|
|
data class Start(override val timerId: Int, val duration: Long) : TimerEvent(timerId)
|
|
data class Pause(override val timerId: Int, val duration: Long) : TimerEvent(timerId)
|
|
data class Finish(override val timerId: Int, val duration: Long) : TimerEvent(timerId)
|
|
data class Refresh(override val timerId: Int) : TimerEvent(timerId)
|
|
}
|