summaryrefslogtreecommitdiff
path: root/source/MazarineApp.mc
diff options
context:
space:
mode:
Diffstat (limited to 'source/MazarineApp.mc')
-rw-r--r--source/MazarineApp.mc28
1 files changed, 28 insertions, 0 deletions
diff --git a/source/MazarineApp.mc b/source/MazarineApp.mc
new file mode 100644
index 0000000..b334540
--- /dev/null
+++ b/source/MazarineApp.mc
@@ -0,0 +1,28 @@
+// Mazarine
+//
+// Copyright (C) 2019 cy384, 2020 cos
+// All rights reserved.
+//
+// This software may be modified and distributed under the terms
+// of the BSD license. See the LICENSE file for details.
+
+using Toybox.Application;
+using Toybox.WatchUi;
+
+class MazarineApp extends Application.AppBase {
+ function initialize() {
+ AppBase.initialize();
+ }
+
+ function onStart(_) { }
+
+ function onStop(_) { }
+
+ function getInitialView() {
+ return [new MazarineView()];
+ }
+
+ function onSettingsChanged() {
+ WatchUi.requestUpdate();
+ }
+}