Files
garminApp/bin/mir/source/appDelegate.mir
T
2026-10-01 19:29:14 +01:00

208 lines
13 KiB
YAML

[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Lang,1,14,18]; ]
import Toybox.Lang;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [System,2,14,20]; ]
import Toybox.System;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [WatchUi,3,14,21]; ]
import Toybox.WatchUi;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 5; @symbol_classdef = [mainDelegate,5,6,18]; @symbol_extends<0> = [WatchUi,5,27,34]; @symbol_extends<1> = [BehaviorDelegate,5,35,51]; ]
class mainDelegate extends WatchUi.BehaviorDelegate {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 5; ]
<init> {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 5; ]
static
<init> {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 6; @symbol_functiondef = [initialize,6,13,23]; ]
function initialize() as Void {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_6_26_32_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 7 8 ]
symbol [ BehaviorDelegate %tmp.2 7 8 24 ];
%tmp.2 = getv ? :BehaviorDelegate;
symbol [ initialize %tmp.3 7 25 35 ];
%tmp.3 = getv function %tmp.2 :initialize;
invoke %tmp.2 %tmp.3();
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_6_26_32_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 34; @symbol_functiondef = [onKey,34,13,18]; @symbol_param<0> = [keyEvent,34,19,27]; @symbol_param<0>_type<0> = [WatchUi,34,31,38]; @symbol_param<0>_type<1> = [KeyEvent,34,39,47]; @symbol_return<0> = [Boolean,34,52,59]; ]
function onKey(keyEvent as WatchUi.KeyEvent) as Boolean {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_34_60_69_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 35 8 ]
%tmp.1 = lgetv %keyEvent;
symbol [ keyEvent %tmp.1 35 15 23 ];
symbol [ getKey %tmp.2 35 24 30 ];
%tmp.2 = getv function %tmp.1 :getKey;
%tmp.3 = invoke %tmp.1 %tmp.2();
push %tmp.3;
switch %tmp.3 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 36 12 ]
%tmp.4 = dup %tmp.3;
symbol [ WatchUi %tmp.5 36 17 24 ];
%tmp.5 = getm $.Toybox.WatchUi;
symbol [ KEY_ENTER %tmp.6 36 25 34 ];
%tmp.6 = getv %tmp.5 :KEY_ENTER;
%tmp.7 = getv function %tmp.4 :equals;
%tmp.8 = invoke %tmp.4 %tmp.7 (%tmp.6);
bt %tmp.8 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_36_12_48_27_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 50 12 ]
%tmp.9 = dup %tmp.3;
symbol [ WatchUi %tmp.10 50 17 24 ];
%tmp.10 = getm $.Toybox.WatchUi;
symbol [ KEY_ESC %tmp.11 50 25 32 ];
%tmp.11 = getv %tmp.10 :KEY_ESC;
%tmp.12 = getv function %tmp.9 :equals;
%tmp.13 = invoke %tmp.9 %tmp.12 (%tmp.11);
bt %tmp.13 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_50_12_58_16_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 60 12 ]
%tmp.14 = dup %tmp.3;
symbol [ WatchUi %tmp.15 60 17 24 ];
%tmp.15 = getm $.Toybox.WatchUi;
symbol [ KEY_DOWN %tmp.16 60 25 33 ];
%tmp.16 = getv %tmp.15 :KEY_DOWN;
%tmp.17 = getv function %tmp.14 :equals;
%tmp.18 = invoke %tmp.14 %tmp.17 (%tmp.16);
bt %tmp.18 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_60_12_61_27_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 63 12 ]
%tmp.19 = dup %tmp.3;
symbol [ WatchUi %tmp.20 63 17 24 ];
%tmp.20 = getm $.Toybox.WatchUi;
symbol [ KEY_UP %tmp.21 63 25 31 ];
%tmp.21 = getv %tmp.20 :KEY_UP;
%tmp.22 = getv function %tmp.19 :equals;
%tmp.23 = invoke %tmp.19 %tmp.22 (%tmp.21);
bt %tmp.23 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_63_12_64_27_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 66 12 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_36_12_48_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 37 16 ]
symbol [ $ %tmp.24 37 23 24 ];
%tmp.24 = getm $;
symbol [ gMatch %tmp.25 37 25 31 ];
%tmp.25 = getv %tmp.24 :gMatch;
symbol [ state %tmp.26 37 32 37 ];
%tmp.26 = getv %tmp.25 :state;
push %tmp.26;
switch %tmp.26 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 38 20 ]
%tmp.27 = dup %tmp.26;
symbol [ PREGAME %tmp.29 38 25 32 ];
%tmp.29 = getv ? :PREGAME;
%tmp.30 = getv function %tmp.27 :equals;
%tmp.31 = invoke %tmp.27 %tmp.30 (%tmp.29);
bt %tmp.31 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_38_20_39_47_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 41 20 ]
%tmp.32 = dup %tmp.26;
symbol [ INGAME %tmp.34 41 25 31 ];
%tmp.34 = getv ? :INGAME;
%tmp.35 = getv function %tmp.32 :equals;
%tmp.36 = invoke %tmp.32 %tmp.35 (%tmp.34);
bt %tmp.36 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_41_20_43_29_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 45 20 ]
%tmp.37 = dup %tmp.26;
symbol [ POSTGAME %tmp.39 45 25 33 ];
%tmp.39 = getv ? :POSTGAME;
%tmp.40 = getv function %tmp.37 :equals;
%tmp.41 = invoke %tmp.37 %tmp.40 (%tmp.39);
bt %tmp.41 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_45_20_46_29_switchCase;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_38_20_39_47_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 39 24 ]
symbol [ $ %tmp.42 39 24 25 ];
%tmp.42 = getm $;
symbol [ gMatch %tmp.43 39 26 32 ];
%tmp.43 = getv %tmp.42 :gMatch;
symbol [ INGAME %tmp.45 39 41 47 ];
%tmp.45 = getv ? :INGAME;
symbol [ state ? 39 33 38 ];
putv %tmp.43 :state %tmp.45;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_41_20_43_29_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 42 24 ]
symbol [ $ %tmp.46 42 24 25 ];
%tmp.46 = getm $;
symbol [ gMatch %tmp.47 42 26 32 ];
%tmp.47 = getv %tmp.46 :gMatch;
symbol [ period %tmp.48 42 33 39 ];
%tmp.48 = getv %tmp.47 :period;
symbol [ playPause %tmp.49 42 40 49 ];
%tmp.49 = getv function %tmp.48 :playPause;
invoke %tmp.48 %tmp.49();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 43 24 ]
goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_45_20_46_29_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 46 24 ]
goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_defaultCodeBegin:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtEnd:
pop;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 48 16 ]
%tmp.50 = true;
ret %tmp.50;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_50_12_58_16_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 51 16 ]
symbol [ $ %tmp.51 51 23 24 ];
%tmp.51 = getm $;
symbol [ gMatch %tmp.52 51 25 31 ];
%tmp.52 = getv %tmp.51 :gMatch;
symbol [ state %tmp.53 51 32 37 ];
%tmp.53 = getv %tmp.52 :state;
push %tmp.53;
switch %tmp.53 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_58_16_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_58_16_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 52 20 ]
%tmp.54 = dup %tmp.53;
symbol [ POSTGAME %tmp.56 52 25 33 ];
%tmp.56 = getv ? :POSTGAME;
%tmp.57 = getv function %tmp.54 :equals;
%tmp.58 = invoke %tmp.54 %tmp.57 (%tmp.56);
bt %tmp.58 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_20_53_37_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 55 20 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_58_16_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_58_16_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_20_53_37_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 53 24 ]
symbol [ System %tmp.59 53 24 30 ];
%tmp.59 = getm $.Toybox.System;
symbol [ exit %tmp.60 53 31 35 ];
%tmp.60 = getv function %tmp.59 :exit;
invoke %tmp.59 %tmp.60();
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_55_20_57_35_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_58_16_defaultCodeBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 57 24 ]
%tmp.61 = true;
ret %tmp.61;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_58_16_switchStmtEnd:
pop;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_60_12_61_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 61 16 ]
%tmp.62 = true;
ret %tmp.62;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_63_12_64_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 64 16 ]
%tmp.63 = true;
ret %tmp.63;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_66_12_67_28_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_defaultCodeBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 67 16 ]
%tmp.64 = false;
ret %tmp.64;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_68_8_switchStmtEnd:
pop;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_34_60_69_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 71; @symbol_functiondef = [onMenu,71,13,19]; @symbol_return<0> = [Boolean,71,25,32]; ]
function onMenu() as Boolean {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_71_33_73_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 72 8 ]
%tmp.1 = false;
ret %tmp.1;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_71_33_73_4_stop:
}
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 1; ]
<init> {
}