aboutsummaryrefslogtreecommitdiff
path: root/src/Timer/Msg.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Timer/Msg.elm')
-rw-r--r--src/Timer/Msg.elm13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Timer/Msg.elm b/src/Timer/Msg.elm
new file mode 100644
index 0000000..150d4fc
--- /dev/null
+++ b/src/Timer/Msg.elm
@@ -0,0 +1,13 @@
+module Timer.Msg exposing
+ ( Msg(..)
+ )
+
+import Time exposing (Time)
+
+type Msg =
+ Rename String
+ | Pause
+ | ToggleRunning
+ | Stop
+ | SetTime Time
+ | SubstractTime Time