aa
This commit is contained in:
1 parent
661f99c595
commit
badede4b8f
222 files changed
+14221
-4877
No files matched your search
@@ -1,68 +0,0 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Application,1,14,25]; ]
|
||||
import Toybox.Application;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [Lang,2,14,18]; ]
|
||||
import Toybox.Lang;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.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/App.mc"; @line = 5; @symbol_classdef = [hockeyTimerApp,5,6,20]; @symbol_extends<0> = [Application,5,29,40]; @symbol_extends<1> = [AppBase,5,41,48]; ]
|
||||
class hockeyTimerApp extends Application.AppBase {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 5; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 5; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 7; @symbol_functiondef = [initialize,7,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_7_26_9_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc" 8 8 ]
|
||||
symbol [ AppBase %tmp.2 8 8 15 ];
|
||||
%tmp.2 = getv ? :AppBase;
|
||||
symbol [ initialize %tmp.3 8 16 26 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_7_26_9_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 12; @symbol_functiondef = [onStart,12,13,20]; @symbol_param<0> = [state,12,21,26]; @symbol_param<0>_type<0> = [Dictionary,12,30,40]; ]
|
||||
function onStart(state as Dictionary or Null) as Void {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 16; @symbol_functiondef = [onStop,16,13,19]; @symbol_param<0> = [state,16,20,25]; @symbol_param<0>_type<0> = [Dictionary,16,29,39]; ]
|
||||
function onStop(state as Dictionary or Null) as Void {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 20; @symbol_functiondef = [getInitialView,20,13,27]; @symbol_return<0> = [Views,20,34,39]; @symbol_return<1> = [Views,20,45,50]; @symbol_return<2> = [InputDelegates,20,52,66]; ]
|
||||
function getInitialView() as [Views] or [Views, InputDelegates] {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_20_68_22_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc" 21 8 ]
|
||||
%tmp.1 = newa 2;
|
||||
symbol [ hockeyTimerView %tmp.5 21 21 36 ];
|
||||
%tmp.5 = getv ? :hockeyTimerView;
|
||||
%tmp.2 = newc %tmp.5 ();
|
||||
%tmp.6 = dup %tmp.1;
|
||||
%tmp.7 = aputv %tmp.6 0 %tmp.2;
|
||||
symbol [ MyInputDelegate %tmp.11 21 44 59 ];
|
||||
%tmp.11 = getv ? :MyInputDelegate;
|
||||
%tmp.8 = newc %tmp.11 ();
|
||||
%tmp.12 = dup %tmp.7;
|
||||
%tmp.13 = aputv %tmp.12 1 %tmp.8;
|
||||
ret %tmp.13;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_20_68_22_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 26; @symbol_functiondef = [getApp,26,9,15]; @symbol_return<0> = [hockeyTimerApp,26,21,35]; ]
|
||||
function getApp() as hockeyTimerApp {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_26_36_28_0_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc" 27 4 ]
|
||||
symbol [ Application %tmp.1 27 11 22 ];
|
||||
%tmp.1 = getm $.Toybox.Application;
|
||||
symbol [ getApp %tmp.2 27 23 29 ];
|
||||
%tmp.2 = getv function %tmp.1 :getApp;
|
||||
%tmp.3 = invoke %tmp.1 %tmp.2();
|
||||
%tmp.4 = as %tmp.3 hockeyTimerApp;
|
||||
symbol [ hockeyTimerApp %tmp.4 27 35 49 ];
|
||||
ret %tmp.4;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_26_36_28_0_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -1,416 +0,0 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.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/Match.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ]
|
||||
import Toybox.Time;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ]
|
||||
import Toybox.Timer;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ]
|
||||
import Toybox.System;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 7; @symbol_enumdef = [enCard,7,12,18]; ]
|
||||
enum enCard {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 8; @position = 4; @symbol_enumdec = [RED,8,4,7]; ]
|
||||
RED,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 9; @position = 4; @symbol_enumdec = [YELLOW,9,4,10]; ]
|
||||
YELLOW,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 10; @position = 4; @symbol_enumdec = [GREEN,10,4,9]; ]
|
||||
GREEN
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 12; @symbol_enumdef = [enGoal,12,12,18]; ]
|
||||
enum enGoal {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 13; @position = 4; @symbol_enumdec = [PC,13,4,6]; ]
|
||||
PC,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 14; @position = 4; @symbol_enumdec = [PS,14,4,6]; ]
|
||||
PS,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 15; @position = 4; @symbol_enumdec = [FG,15,4,6]; ]
|
||||
FG
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 17; @symbol_enumdef = [enTeam,17,12,18]; ]
|
||||
enum enTeam {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 18; @position = 4; @symbol_enumdec = [HOME,18,4,8]; ]
|
||||
HOME,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 19; @position = 4; @symbol_enumdec = [AWAY,19,4,8]; ]
|
||||
AWAY
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 32; @symbol_enumdef = [enAction,32,12,20]; ]
|
||||
enum enAction {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 33; @position = 4; @symbol_enumdec = [GOAL,33,4,8]; ]
|
||||
GOAL,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 34; @position = 4; @symbol_enumdec = [CARD,34,4,8]; ]
|
||||
CARD,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 35; @position = 4; @symbol_enumdec = [QUIT,35,4,8]; ]
|
||||
QUIT
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 37; @symbol_enumdef = [enPeriod,37,12,20]; ]
|
||||
enum enPeriod {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 38; @position = 4; @symbol_enumdec = [PLAY,38,4,8]; ]
|
||||
PLAY,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 39; @position = 4; @symbol_enumdec = [BREAK,39,4,9]; ]
|
||||
BREAK
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 42; @position = 4; @symbol_vardef = [gameDuration,42,4,16]; @symbol_type<0> = [Number,42,22,28]; ]
|
||||
var gameDuration as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 43; @position = 4; @symbol_vardef = [gameElapsed,43,4,15]; @symbol_type<0> = [Number,43,22,28]; ]
|
||||
var gameElapsed as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 44; @position = 4; @symbol_vardef = [gamePeriod,44,4,14]; @symbol_type<0> = [Number,44,22,28]; ]
|
||||
var gamePeriod as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 46; @symbol_classdef = [goal,46,6,10]; ]
|
||||
class goal {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 46; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 46; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 47; @position = 16; @symbol_vardef = [_team,47,16,21]; @symbol_type<0> = [enTeam,47,29,35]; ]
|
||||
private
|
||||
var _team as enTeam;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 48; @position = 16; @symbol_vardef = [_type,48,16,21]; @symbol_type<0> = [enGoal,48,29,35]; ]
|
||||
private
|
||||
var _type as enGoal;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 49; @position = 16; @symbol_vardef = [_time,49,16,21]; @symbol_type<0> = [Number,49,29,35]; ]
|
||||
private
|
||||
var _time as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 50; @position = 16; @symbol_vardef = [_player,50,16,23]; @symbol_type<0> = [Number,50,29,35]; ]
|
||||
private
|
||||
var _player as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 51; @position = 16; @symbol_vardef = [_datetime,51,16,25]; @symbol_type<0> = [Number,51,29,35]; ]
|
||||
private
|
||||
var _datetime as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 53; @symbol_functiondef = [initialize,53,13,23]; @symbol_param<0> = [team,53,24,28]; @symbol_param<0>_type<0> = [enTeam,53,32,38]; @symbol_param<1> = [type,53,40,44]; @symbol_param<1>_type<0> = [enGoal,53,48,54]; @symbol_param<2> = [player,53,56,62]; @symbol_param<2>_type<0> = [Number,53,66,72]; @symbol_param<3> = [time,53,74,78]; @symbol_param<3>_type<0> = [Number,53,82,88]; ]
|
||||
function initialize(team as enTeam, type as enGoal, player as Number, time as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_53_90_59_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 54 8 ]
|
||||
%tmp.1 = lgetv %team;
|
||||
symbol [ team %tmp.1 54 20 24 ];
|
||||
symbol [ _team ? 54 8 13 ];
|
||||
putv self :_team %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 55 8 ]
|
||||
%tmp.2 = lgetv %type;
|
||||
symbol [ type %tmp.2 55 20 24 ];
|
||||
symbol [ _type ? 55 8 13 ];
|
||||
putv self :_type %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 56 8 ]
|
||||
%tmp.3 = lgetv %time;
|
||||
symbol [ time %tmp.3 56 20 24 ];
|
||||
symbol [ _time ? 56 8 13 ];
|
||||
putv self :_time %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 57 8 ]
|
||||
%tmp.4 = lgetv %player;
|
||||
symbol [ player %tmp.4 57 20 26 ];
|
||||
symbol [ _player ? 57 8 15 ];
|
||||
putv self :_player %tmp.4;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 58 8 ]
|
||||
symbol [ Time %tmp.5 58 20 24 ];
|
||||
%tmp.5 = getm $.Toybox.Time;
|
||||
symbol [ now %tmp.6 58 25 28 ];
|
||||
%tmp.6 = getv function %tmp.5 :now;
|
||||
%tmp.7 = invoke %tmp.5 %tmp.6();
|
||||
symbol [ value %tmp.8 58 31 36 ];
|
||||
%tmp.8 = getv function %tmp.7 :value;
|
||||
%tmp.9 = invoke %tmp.7 %tmp.8();
|
||||
symbol [ _datetime ? 58 8 17 ];
|
||||
putv self :_datetime %tmp.9;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_53_90_59_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 61; @symbol_functiondef = [toDict,61,13,19]; @symbol_return<0> = [Dictionary,61,25,35]; ]
|
||||
function toDict() as Dictionary {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_61_36_69_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 62 8 ]
|
||||
%tmp.1 = newd 5;
|
||||
%tmp.2 = "team";
|
||||
symbol [ _team %tmp.4 63 27 32 ];
|
||||
%tmp.4 = getv ? :_team;
|
||||
%tmp.5 = dup %tmp.1;
|
||||
%tmp.6 = aputv %tmp.5 %tmp.2 %tmp.4;
|
||||
%tmp.7 = "type";
|
||||
symbol [ _type %tmp.9 64 27 32 ];
|
||||
%tmp.9 = getv ? :_type;
|
||||
%tmp.10 = dup %tmp.6;
|
||||
%tmp.11 = aputv %tmp.10 %tmp.7 %tmp.9;
|
||||
%tmp.12 = "time";
|
||||
symbol [ _time %tmp.14 65 27 32 ];
|
||||
%tmp.14 = getv ? :_time;
|
||||
%tmp.15 = dup %tmp.11;
|
||||
%tmp.16 = aputv %tmp.15 %tmp.12 %tmp.14;
|
||||
%tmp.17 = "player";
|
||||
symbol [ _player %tmp.19 66 27 34 ];
|
||||
%tmp.19 = getv ? :_player;
|
||||
%tmp.20 = dup %tmp.16;
|
||||
%tmp.21 = aputv %tmp.20 %tmp.17 %tmp.19;
|
||||
%tmp.22 = "datetime";
|
||||
symbol [ _datetime %tmp.24 67 27 36 ];
|
||||
%tmp.24 = getv ? :_datetime;
|
||||
%tmp.25 = dup %tmp.21;
|
||||
%tmp.26 = aputv %tmp.25 %tmp.22 %tmp.24;
|
||||
ret %tmp.26;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_61_36_69_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 72; @symbol_classdef = [card,72,6,10]; ]
|
||||
class card {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 72; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 72; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 73; @position = 15; @symbol_vardef = [team,73,15,19]; @symbol_type<0> = [enTeam,73,29,35]; ]
|
||||
public
|
||||
var team as enTeam;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 74; @position = 15; @symbol_vardef = [card,74,15,19]; @symbol_type<0> = [enCard,74,29,35]; ]
|
||||
public
|
||||
var card as enCard;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 75; @position = 15; @symbol_vardef = [player,75,15,21]; @symbol_type<0> = [Number,75,29,35]; ]
|
||||
public
|
||||
var player as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 76; @position = 15; @symbol_vardef = [remaining,76,15,24]; @symbol_type<0> = [Number,76,29,35]; ]
|
||||
public
|
||||
var remaining as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 77; @position = 15; @symbol_vardef = [isActive,77,15,23]; @symbol_type<0> = [Boolean,77,29,36]; ]
|
||||
public
|
||||
var isActive as Boolean;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 79; @position = 16; @symbol_vardef = [start,79,16,21]; @symbol_type<0> = [Number,79,29,35]; ]
|
||||
private
|
||||
var start as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 80; @position = 16; @symbol_vardef = [end,80,16,19]; @symbol_type<0> = [Number,80,29,35]; ]
|
||||
private
|
||||
var end as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 81; @position = 16; @symbol_vardef = [duration,81,16,24]; @symbol_type<0> = [Number,81,29,35]; ]
|
||||
private
|
||||
var duration as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 82; @position = 16; @symbol_vardef = [_datetime,82,16,25]; @symbol_type<0> = [Number,82,29,35]; ]
|
||||
private
|
||||
var _datetime as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 86; @symbol_functiondef = [initialize,86,13,23]; @symbol_param<0> = [tm,86,24,26]; @symbol_param<0>_type<0> = [enTeam,86,30,36]; @symbol_param<1> = [cd,86,38,40]; @symbol_param<1>_type<0> = [enCard,86,44,50]; @symbol_param<2> = [pl,86,52,54]; @symbol_param<2>_type<0> = [Number,86,58,64]; @symbol_param<3> = [dn,86,66,68]; @symbol_param<3>_type<0> = [Number,86,72,78]; @symbol_param<4> = [st,86,80,82]; @symbol_param<4>_type<0> = [Number,86,86,92]; ]
|
||||
function initialize(tm as enTeam, cd as enCard, pl as Number, dn as Number, st as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_86_93_99_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 87 8 ]
|
||||
%tmp.1 = lgetv %tm;
|
||||
symbol [ tm %tmp.1 87 19 21 ];
|
||||
symbol [ team ? 87 8 12 ];
|
||||
putv self :team %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 88 8 ]
|
||||
%tmp.2 = lgetv %cd;
|
||||
symbol [ cd %tmp.2 88 19 21 ];
|
||||
symbol [ card ? 88 8 12 ];
|
||||
putv self :card %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 89 8 ]
|
||||
%tmp.3 = lgetv %st;
|
||||
symbol [ st %tmp.3 89 19 21 ];
|
||||
symbol [ start ? 89 8 13 ];
|
||||
putv self :start %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 90 8 ]
|
||||
%tmp.4 = lgetv %dn;
|
||||
symbol [ dn %tmp.4 90 19 21 ];
|
||||
%tmp.5 = 60;
|
||||
%tmp.6 = mul %tmp.4 %tmp.5;
|
||||
symbol [ duration ? 90 8 16 ];
|
||||
putv self :duration %tmp.6;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 91 8 ]
|
||||
symbol [ duration %tmp.8 91 20 28 ];
|
||||
%tmp.8 = getv ? :duration;
|
||||
symbol [ remaining ? 91 8 17 ];
|
||||
putv self :remaining %tmp.8;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 92 8 ]
|
||||
symbol [ start %tmp.10 92 19 24 ];
|
||||
%tmp.10 = getv ? :start;
|
||||
symbol [ duration %tmp.12 92 27 35 ];
|
||||
%tmp.12 = getv ? :duration;
|
||||
%tmp.13 = add %tmp.10 %tmp.12;
|
||||
symbol [ end ? 92 8 11 ];
|
||||
putv self :end %tmp.13;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 93 8 ]
|
||||
%tmp.14 = lgetv %pl;
|
||||
symbol [ pl %tmp.14 93 19 21 ];
|
||||
symbol [ player ? 93 8 14 ];
|
||||
putv self :player %tmp.14;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 94 8 ]
|
||||
%tmp.15 = true;
|
||||
symbol [ isActive ? 94 8 16 ];
|
||||
putv self :isActive %tmp.15;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 95 8 ]
|
||||
symbol [ Time %tmp.16 95 20 24 ];
|
||||
%tmp.16 = getm $.Toybox.Time;
|
||||
symbol [ now %tmp.17 95 25 28 ];
|
||||
%tmp.17 = getv function %tmp.16 :now;
|
||||
%tmp.18 = invoke %tmp.16 %tmp.17();
|
||||
symbol [ value %tmp.19 95 31 36 ];
|
||||
%tmp.19 = getv function %tmp.18 :value;
|
||||
%tmp.20 = invoke %tmp.18 %tmp.19();
|
||||
symbol [ _datetime ? 95 8 17 ];
|
||||
putv self :_datetime %tmp.20;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_86_93_99_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 105; @symbol_functiondef = [dummy,105,20,25]; @symbol_param<0> = [q,105,26,27]; @symbol_param<0>_type<0> = [Boolean,105,31,38]; ]
|
||||
public
|
||||
function dummy(q as Boolean) as Void {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 107; @symbol_functiondef = [update,107,20,26]; @symbol_param<0> = [el,107,27,29]; @symbol_param<0>_type<0> = [Number,107,33,39]; ]
|
||||
public
|
||||
function update(el as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_107_48_115_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 108 8 ]
|
||||
symbol [ end %tmp.2 108 20 23 ];
|
||||
%tmp.2 = getv ? :end;
|
||||
%tmp.3 = lgetv %el;
|
||||
symbol [ el %tmp.3 108 26 28 ];
|
||||
%tmp.4 = sub %tmp.2 %tmp.3;
|
||||
symbol [ remaining ? 108 8 17 ];
|
||||
putv self :remaining %tmp.4;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 110 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_8_114_8_if_stmt:
|
||||
symbol [ end %tmp.6 110 11 14 ];
|
||||
%tmp.6 = getv ? :end;
|
||||
%tmp.7 = lgetv %el;
|
||||
symbol [ el %tmp.7 110 17 19 ];
|
||||
%tmp.8 = sub %tmp.6 %tmp.7;
|
||||
%tmp.9 = 0;
|
||||
%tmp.10 = eq %tmp.8 %tmp.9;
|
||||
bf %tmp.10 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_8_114_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_8_114_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_25_114_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 112 16 ]
|
||||
symbol [ System %tmp.11 112 16 22 ];
|
||||
%tmp.11 = getm $.Toybox.System;
|
||||
symbol [ println %tmp.12 112 23 30 ];
|
||||
%tmp.12 = getv function %tmp.11 :println;
|
||||
symbol [ Lang %tmp.13 112 31 35 ];
|
||||
%tmp.13 = getm $.Toybox.Lang;
|
||||
symbol [ format %tmp.14 112 36 42 ];
|
||||
%tmp.14 = getv function %tmp.13 :format;
|
||||
%tmp.15 = "Card: $1$ Over";
|
||||
%tmp.16 = newa 1;
|
||||
symbol [ player %tmp.18 112 61 67 ];
|
||||
%tmp.18 = getv ? :player;
|
||||
symbol [ format %tmp.19 112 68 74 ];
|
||||
%tmp.19 = getv function %tmp.18 :format;
|
||||
%tmp.20 = "%02d";
|
||||
%tmp.21 = invoke %tmp.18 %tmp.19(%tmp.20);
|
||||
%tmp.22 = dup %tmp.16;
|
||||
%tmp.23 = aputv %tmp.22 0 %tmp.21;
|
||||
%tmp.24 = invoke %tmp.13 %tmp.14(%tmp.15, %tmp.23);
|
||||
invoke %tmp.11 %tmp.12(%tmp.24);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 113 16 ]
|
||||
%tmp.25 = false;
|
||||
symbol [ isActive ? 113 16 24 ];
|
||||
putv self :isActive %tmp.25;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_25_114_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_8_114_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_8_114_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_107_48_115_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 117; @symbol_functiondef = [toDict,117,13,19]; @symbol_return<0> = [Dictionary,117,25,35]; ]
|
||||
function toDict() as Dictionary {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_117_36_127_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 118 8 ]
|
||||
%tmp.1 = newd 7;
|
||||
%tmp.2 = "team";
|
||||
symbol [ team %tmp.4 119 26 30 ];
|
||||
%tmp.4 = getv ? :team;
|
||||
%tmp.5 = dup %tmp.1;
|
||||
%tmp.6 = aputv %tmp.5 %tmp.2 %tmp.4;
|
||||
%tmp.7 = "start";
|
||||
symbol [ start %tmp.9 120 26 31 ];
|
||||
%tmp.9 = getv ? :start;
|
||||
%tmp.10 = dup %tmp.6;
|
||||
%tmp.11 = aputv %tmp.10 %tmp.7 %tmp.9;
|
||||
%tmp.12 = "end";
|
||||
symbol [ end %tmp.14 121 26 29 ];
|
||||
%tmp.14 = getv ? :end;
|
||||
%tmp.15 = dup %tmp.11;
|
||||
%tmp.16 = aputv %tmp.15 %tmp.12 %tmp.14;
|
||||
%tmp.17 = "card";
|
||||
symbol [ card %tmp.19 122 26 30 ];
|
||||
%tmp.19 = getv ? :card;
|
||||
%tmp.20 = dup %tmp.16;
|
||||
%tmp.21 = aputv %tmp.20 %tmp.17 %tmp.19;
|
||||
%tmp.22 = "player";
|
||||
symbol [ player %tmp.24 123 26 32 ];
|
||||
%tmp.24 = getv ? :player;
|
||||
%tmp.25 = dup %tmp.21;
|
||||
%tmp.26 = aputv %tmp.25 %tmp.22 %tmp.24;
|
||||
%tmp.27 = "duration";
|
||||
symbol [ duration %tmp.29 124 26 34 ];
|
||||
%tmp.29 = getv ? :duration;
|
||||
%tmp.30 = dup %tmp.26;
|
||||
%tmp.31 = aputv %tmp.30 %tmp.27 %tmp.29;
|
||||
%tmp.32 = "datetime";
|
||||
symbol [ _datetime %tmp.34 125 26 35 ];
|
||||
%tmp.34 = getv ? :_datetime;
|
||||
%tmp.35 = dup %tmp.31;
|
||||
%tmp.36 = aputv %tmp.35 %tmp.32 %tmp.34;
|
||||
ret %tmp.36;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_117_36_127_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 130; @symbol_classdef = [match,130,6,11]; ]
|
||||
class match {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 130; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 130; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 132; @symbol_functiondef = [initialize,132,13,23]; ]
|
||||
function initialize() as Void {
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 138; @symbol_classdef = [period,138,6,12]; ]
|
||||
class period {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 138; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 138; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 140; @position = 15; @symbol_vardef = [display,140,15,22]; @symbol_type<0> = [String,140,28,34]; ]
|
||||
public
|
||||
var display as String or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 141; @position = 15; @symbol_vardef = [type,141,15,19]; @symbol_type<0> = [enPeriod,141,28,36]; ]
|
||||
public
|
||||
var type as enPeriod or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 143; @position = 15; @symbol_vardef = [duration,143,15,23]; @symbol_type<0> = [Number,143,28,34]; ]
|
||||
public
|
||||
var duration as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 144; @position = 15; @symbol_vardef = [remaining,144,15,24]; @symbol_type<0> = [Number,144,28,34]; ]
|
||||
public
|
||||
var remaining as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 152; @symbol_functiondef = [initialize,152,13,23]; @symbol_param<0> = [Display,152,24,31]; @symbol_param<0>_type<0> = [String,152,35,41]; @symbol_param<1> = [Type,152,43,47]; @symbol_param<1>_type<0> = [enPeriod,152,51,59]; @symbol_param<2> = [Duration,152,61,69]; @symbol_param<2>_type<0> = [Number,152,73,79]; ]
|
||||
function initialize(Display as String, Type as enPeriod, Duration as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_152_80_158_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 153 8 ]
|
||||
%tmp.1 = lgetv %Display;
|
||||
symbol [ Display %tmp.1 153 20 27 ];
|
||||
symbol [ display ? 153 8 15 ];
|
||||
putv self :display %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 154 8 ]
|
||||
%tmp.2 = lgetv %Type;
|
||||
symbol [ Type %tmp.2 154 20 24 ];
|
||||
symbol [ type ? 154 8 12 ];
|
||||
putv self :type %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 155 8 ]
|
||||
%tmp.3 = lgetv %Duration;
|
||||
symbol [ Duration %tmp.3 155 20 28 ];
|
||||
symbol [ duration ? 155 8 16 ];
|
||||
putv self :duration %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 156 8 ]
|
||||
%tmp.4 = lgetv %Duration;
|
||||
symbol [ Duration %tmp.4 156 20 28 ];
|
||||
symbol [ remaining ? 156 8 17 ];
|
||||
putv self :remaining %tmp.4;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_152_80_158_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 171; @symbol_functiondef = [elapsed,171,20,27]; ]
|
||||
public
|
||||
function elapsed() {
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -2,16 +2,6 @@
|
||||
import Toybox.Lang;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 4; @position = 11; @symbol_vardef = [gMenuTeams,4,11,21]; @symbol_type<0> = [WatchUi,4,27,34]; @symbol_type<1> = [Menu2,4,35,40]; ]
|
||||
var gMenuTeams as WatchUi.Menu2 or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 5; @position = 11; @symbol_vardef = [gMenuActions,5,11,23]; @symbol_type<0> = [WatchUi,5,27,34]; @symbol_type<1> = [Menu2,5,35,40]; ]
|
||||
var gMenuActions as WatchUi.Menu2 or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 6; @position = 11; @symbol_vardef = [gMenuGoals,6,11,21]; @symbol_type<0> = [WatchUi,6,27,34]; @symbol_type<1> = [Menu2,6,35,40]; ]
|
||||
var gMenuGoals as WatchUi.Menu2 or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 7; @position = 11; @symbol_vardef = [gMenuCards,7,11,21]; @symbol_type<0> = [WatchUi,7,27,34]; @symbol_type<1> = [Menu2,7,35,40]; ]
|
||||
var gMenuCards as WatchUi.Menu2 or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 8; @position = 11; @symbol_vardef = [gMenuApp,8,11,19]; @symbol_type<0> = [WatchUi,8,27,34]; @symbol_type<1> = [Menu2,8,35,40]; ]
|
||||
var gMenuApp as WatchUi.Menu2 or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -1,508 +0,0 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.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/TestDelegate.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 4; @symbol_classdef = [MyInputDelegate,4,6,21]; @symbol_extends<0> = [WatchUi,4,30,37]; @symbol_extends<1> = [InputDelegate,4,38,51]; ]
|
||||
class MyInputDelegate extends WatchUi.InputDelegate {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 4; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 4; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 6; @symbol_functiondef = [initialize,6,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_6_26_8_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 7 8 ]
|
||||
symbol [ InputDelegate %tmp.2 7 8 21 ];
|
||||
%tmp.2 = getv ? :InputDelegate;
|
||||
symbol [ initialize %tmp.3 7 22 32 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_6_26_8_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 10; @symbol_functiondef = [onDrag,10,13,19]; @symbol_param<0> = [dragEvent,10,20,29]; @symbol_param<0>_type<0> = [WatchUi,10,33,40]; @symbol_param<0>_type<1> = [DragEvent,10,41,50]; @symbol_return<0> = [Lang,10,55,59]; @symbol_return<1> = [Boolean,10,60,67]; ]
|
||||
function onDrag(dragEvent as WatchUi.DragEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_10_68_16_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 11 6 ]
|
||||
symbol [ $ %tmp.1 11 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "on-Drag";
|
||||
symbol [ kjr ? 11 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 12 6 ]
|
||||
symbol [ System %tmp.4 12 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 12 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %dragEvent;
|
||||
symbol [ dragEvent %tmp.6 12 21 30 ];
|
||||
symbol [ getType %tmp.7 12 31 38 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 13 6 ]
|
||||
symbol [ WatchUi %tmp.9 13 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 13 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 14 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_10_68_16_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 17; @symbol_functiondef = [onFlick,17,13,20]; @symbol_param<0> = [flickEvent,17,21,31]; @symbol_param<0>_type<0> = [WatchUi,17,35,42]; @symbol_param<0>_type<1> = [FlickEvent,17,43,53]; @symbol_return<0> = [Lang,17,58,62]; @symbol_return<1> = [Boolean,17,63,70]; ]
|
||||
function onFlick(flickEvent as WatchUi.FlickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_17_71_22_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 18 6 ]
|
||||
symbol [ $ %tmp.1 18 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onFlick";
|
||||
symbol [ kjr ? 18 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 19 6 ]
|
||||
symbol [ System %tmp.4 19 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 19 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %flickEvent;
|
||||
symbol [ flickEvent %tmp.6 19 21 31 ];
|
||||
symbol [ getDirection %tmp.7 19 32 44 ];
|
||||
%tmp.7 = getv function %tmp.6 :getDirection;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 20 6 ]
|
||||
symbol [ WatchUi %tmp.9 20 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 20 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 21 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_17_71_22_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 23; @symbol_functiondef = [onHold,23,13,19]; @symbol_param<0> = [clickEvent,23,20,30]; @symbol_param<0>_type<0> = [WatchUi,23,34,41]; @symbol_param<0>_type<1> = [ClickEvent,23,42,52]; @symbol_return<0> = [Lang,23,57,61]; @symbol_return<1> = [Boolean,23,62,69]; ]
|
||||
function onHold(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_23_70_28_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 24 6 ]
|
||||
symbol [ $ %tmp.1 24 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onHold";
|
||||
symbol [ kjr ? 24 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 25 6 ]
|
||||
symbol [ System %tmp.4 25 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 25 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %clickEvent;
|
||||
symbol [ clickEvent %tmp.6 25 21 31 ];
|
||||
symbol [ getType %tmp.7 25 32 39 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 26 6 ]
|
||||
symbol [ WatchUi %tmp.9 26 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 26 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 27 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_23_70_28_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 29; @symbol_functiondef = [onKey,29,13,18]; @symbol_param<0> = [keyEvent,29,19,27]; @symbol_param<0>_type<0> = [WatchUi,29,31,38]; @symbol_param<0>_type<1> = [KeyEvent,29,39,47]; @symbol_return<0> = [Lang,29,52,56]; @symbol_return<1> = [Boolean,29,57,64]; ]
|
||||
function onKey(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_29_65_34_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 30 6 ]
|
||||
symbol [ $ %tmp.1 30 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onKey";
|
||||
symbol [ kjr ? 30 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 31 6 ]
|
||||
symbol [ System %tmp.4 31 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 31 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %keyEvent;
|
||||
symbol [ keyEvent %tmp.6 31 21 29 ];
|
||||
symbol [ getKey %tmp.7 31 30 36 ];
|
||||
%tmp.7 = getv function %tmp.6 :getKey;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 32 6 ]
|
||||
symbol [ WatchUi %tmp.9 32 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 32 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 33 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_29_65_34_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 35; @symbol_functiondef = [onKeyPressed,35,13,25]; @symbol_param<0> = [keyEvent,35,26,34]; @symbol_param<0>_type<0> = [WatchUi,35,38,45]; @symbol_param<0>_type<1> = [KeyEvent,35,46,54]; @symbol_return<0> = [Lang,35,59,63]; @symbol_return<1> = [Boolean,35,64,71]; ]
|
||||
function onKeyPressed(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_35_72_40_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 36 6 ]
|
||||
symbol [ $ %tmp.1 36 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onKeyPressed";
|
||||
symbol [ kjr ? 36 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 37 6 ]
|
||||
symbol [ System %tmp.4 37 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 37 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %keyEvent;
|
||||
symbol [ keyEvent %tmp.6 37 21 29 ];
|
||||
symbol [ getKey %tmp.7 37 30 36 ];
|
||||
%tmp.7 = getv function %tmp.6 :getKey;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 38 6 ]
|
||||
symbol [ WatchUi %tmp.9 38 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 38 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 39 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_35_72_40_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 41; @symbol_functiondef = [onKeyReleased,41,13,26]; @symbol_param<0> = [keyEvent,41,27,35]; @symbol_param<0>_type<0> = [WatchUi,41,39,46]; @symbol_param<0>_type<1> = [KeyEvent,41,47,55]; @symbol_return<0> = [Lang,41,60,64]; @symbol_return<1> = [Boolean,41,65,72]; ]
|
||||
function onKeyReleased(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_41_73_46_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 42 6 ]
|
||||
symbol [ $ %tmp.1 42 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onKeyReleased";
|
||||
symbol [ kjr ? 42 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 43 6 ]
|
||||
symbol [ System %tmp.4 43 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 43 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %keyEvent;
|
||||
symbol [ keyEvent %tmp.6 43 21 29 ];
|
||||
symbol [ getKey %tmp.7 43 30 36 ];
|
||||
%tmp.7 = getv function %tmp.6 :getKey;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 44 6 ]
|
||||
symbol [ WatchUi %tmp.9 44 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 44 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 45 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_41_73_46_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 47; @symbol_functiondef = [onRelease,47,13,22]; @symbol_param<0> = [clickEvent,47,23,33]; @symbol_param<0>_type<0> = [WatchUi,47,37,44]; @symbol_param<0>_type<1> = [ClickEvent,47,45,55]; @symbol_return<0> = [Lang,47,60,64]; @symbol_return<1> = [Boolean,47,65,72]; ]
|
||||
function onRelease(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_47_73_52_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 48 6 ]
|
||||
symbol [ $ %tmp.1 48 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onRelease";
|
||||
symbol [ kjr ? 48 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 49 6 ]
|
||||
symbol [ System %tmp.4 49 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 49 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %clickEvent;
|
||||
symbol [ clickEvent %tmp.6 49 21 31 ];
|
||||
symbol [ getType %tmp.7 49 32 39 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 50 6 ]
|
||||
symbol [ WatchUi %tmp.9 50 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 50 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 51 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_47_73_52_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 53; @symbol_functiondef = [onSelectable,53,13,25]; @symbol_param<0> = [selectableEvent,53,26,41]; @symbol_param<0>_type<0> = [WatchUi,53,45,52]; @symbol_param<0>_type<1> = [SelectableEvent,53,53,68]; @symbol_return<0> = [Lang,53,73,77]; @symbol_return<1> = [Boolean,53,78,85]; ]
|
||||
function onSelectable(selectableEvent as WatchUi.SelectableEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_53_86_57_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 54 6 ]
|
||||
symbol [ $ %tmp.1 54 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onSelectable";
|
||||
symbol [ kjr ? 54 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 55 6 ]
|
||||
symbol [ WatchUi %tmp.3 55 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 55 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 56 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_53_86_57_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 58; @symbol_functiondef = [onSwipe,58,13,20]; @symbol_param<0> = [swipeEvent,58,21,31]; @symbol_param<0>_type<0> = [WatchUi,58,35,42]; @symbol_param<0>_type<1> = [SwipeEvent,58,43,53]; @symbol_return<0> = [Lang,58,58,62]; @symbol_return<1> = [Boolean,58,63,70]; ]
|
||||
function onSwipe(swipeEvent as WatchUi.SwipeEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_58_71_63_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 59 6 ]
|
||||
symbol [ $ %tmp.1 59 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onSwipe";
|
||||
symbol [ kjr ? 59 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 60 6 ]
|
||||
symbol [ System %tmp.4 60 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 60 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %swipeEvent;
|
||||
symbol [ swipeEvent %tmp.6 60 21 31 ];
|
||||
symbol [ getDirection %tmp.7 60 32 44 ];
|
||||
%tmp.7 = getv function %tmp.6 :getDirection;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 61 6 ]
|
||||
symbol [ WatchUi %tmp.9 61 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 61 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 62 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_58_71_63_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 64; @symbol_functiondef = [onTap,64,13,18]; @symbol_param<0> = [clickEvent,64,19,29]; @symbol_param<0>_type<0> = [WatchUi,64,33,40]; @symbol_param<0>_type<1> = [ClickEvent,64,41,51]; @symbol_return<0> = [Lang,64,56,60]; @symbol_return<1> = [Boolean,64,61,68]; ]
|
||||
function onTap(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_64_69_69_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 65 6 ]
|
||||
symbol [ $ %tmp.1 65 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onTap";
|
||||
symbol [ kjr ? 65 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 66 6 ]
|
||||
symbol [ System %tmp.4 66 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 66 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %clickEvent;
|
||||
symbol [ clickEvent %tmp.6 66 21 31 ];
|
||||
symbol [ getType %tmp.7 66 32 39 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 67 6 ]
|
||||
symbol [ WatchUi %tmp.9 67 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 67 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 68 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_64_69_69_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 72; @symbol_classdef = [MyBehaviorDelegate,72,6,24]; @symbol_extends<0> = [WatchUi,72,33,40]; @symbol_extends<1> = [BehaviorDelegate,72,41,57]; ]
|
||||
class MyBehaviorDelegate extends WatchUi.BehaviorDelegate {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 72; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 72; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 74; @symbol_functiondef = [initialize,74,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_74_26_76_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 75 8 ]
|
||||
symbol [ BehaviorDelegate %tmp.2 75 8 24 ];
|
||||
%tmp.2 = getv ? :BehaviorDelegate;
|
||||
symbol [ initialize %tmp.3 75 25 35 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_74_26_76_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 78; @symbol_functiondef = [onMenu,78,13,19]; @symbol_return<0> = [Boolean,78,25,32]; ]
|
||||
function onMenu() as Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_78_33_82_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 79 6 ]
|
||||
symbol [ $ %tmp.1 79 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "OnMenu";
|
||||
symbol [ kjr ? 79 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 80 6 ]
|
||||
symbol [ WatchUi %tmp.3 80 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 80 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 81 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_78_33_82_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 83; @symbol_functiondef = [onActionMenu,83,13,25]; @symbol_return<0> = [Boolean,83,31,38]; ]
|
||||
function onActionMenu() as Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_83_39_87_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 84 6 ]
|
||||
symbol [ $ %tmp.1 84 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onActionMenu";
|
||||
symbol [ kjr ? 84 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 85 6 ]
|
||||
symbol [ WatchUi %tmp.3 85 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 85 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 86 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_83_39_87_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 89; @symbol_functiondef = [onBack,89,13,19]; @symbol_return<0> = [Boolean,89,25,32]; ]
|
||||
function onBack() as Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_89_33_93_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 90 6 ]
|
||||
symbol [ $ %tmp.1 90 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onBack";
|
||||
symbol [ kjr ? 90 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 91 6 ]
|
||||
symbol [ WatchUi %tmp.3 91 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 91 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 92 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_89_33_93_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 95; @symbol_functiondef = [onNextMode,95,13,23]; @symbol_return<0> = [Lang,95,29,33]; @symbol_return<1> = [Boolean,95,34,41]; ]
|
||||
function onNextMode() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_95_42_99_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 96 6 ]
|
||||
symbol [ $ %tmp.1 96 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onNextMode";
|
||||
symbol [ kjr ? 96 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 97 6 ]
|
||||
symbol [ WatchUi %tmp.3 97 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 97 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 98 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_95_42_99_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 101; @symbol_functiondef = [onNextPage,101,13,23]; @symbol_return<0> = [Lang,101,29,33]; @symbol_return<1> = [Boolean,101,34,41]; ]
|
||||
function onNextPage() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_101_42_105_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 102 6 ]
|
||||
symbol [ $ %tmp.1 102 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onNextPage";
|
||||
symbol [ kjr ? 102 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 103 6 ]
|
||||
symbol [ WatchUi %tmp.3 103 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 103 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 104 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_101_42_105_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 107; @symbol_functiondef = [onPreviousMode,107,13,27]; @symbol_return<0> = [Lang,107,33,37]; @symbol_return<1> = [Boolean,107,38,45]; ]
|
||||
function onPreviousMode() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_107_46_111_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 108 6 ]
|
||||
symbol [ $ %tmp.1 108 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onPreviousMode";
|
||||
symbol [ kjr ? 108 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 109 6 ]
|
||||
symbol [ WatchUi %tmp.3 109 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 109 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 110 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_107_46_111_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 113; @symbol_functiondef = [onPreviousPage,113,13,27]; @symbol_return<0> = [Lang,113,33,37]; @symbol_return<1> = [Boolean,113,38,45]; ]
|
||||
function onPreviousPage() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_113_46_117_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 114 6 ]
|
||||
symbol [ $ %tmp.1 114 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onPreviousPage";
|
||||
symbol [ kjr ? 114 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 115 6 ]
|
||||
symbol [ WatchUi %tmp.3 115 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 115 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 116 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_113_46_117_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 119; @symbol_functiondef = [onSelect,119,13,21]; @symbol_return<0> = [Lang,119,27,31]; @symbol_return<1> = [Boolean,119,32,39]; ]
|
||||
function onSelect() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_119_39_123_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 120 6 ]
|
||||
symbol [ $ %tmp.1 120 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onSelect";
|
||||
symbol [ kjr ? 120 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 121 6 ]
|
||||
symbol [ WatchUi %tmp.3 121 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 121 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 122 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_119_39_123_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
+494
-1412
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,207 @@
|
||||
[ @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> {
|
||||
}
|
||||
@@ -0,0 +1,232 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.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/appGlobals.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Graphics,3,14,22]; ]
|
||||
import Toybox.Graphics;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Time,4,14,18]; ]
|
||||
import Toybox.Time;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 6; @symbol_enumdef = [enCard,6,12,18]; ]
|
||||
enum enCard {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 7; @position = 4; @symbol_enumdec = [RED,7,4,7]; ]
|
||||
RED = "RED",
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 8; @position = 4; @symbol_enumdec = [YELLOW,8,4,10]; ]
|
||||
YELLOW = "YELLOW",
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 9; @position = 4; @symbol_enumdec = [GREEN,9,4,9]; ]
|
||||
GREEN = "GREEN"
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 11; @symbol_enumdef = [enGoal,11,12,18]; ]
|
||||
enum enGoal {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 12; @position = 4; @symbol_enumdec = [PC,12,4,6]; ]
|
||||
PC = "PC",
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 13; @position = 4; @symbol_enumdec = [PS,13,4,6]; ]
|
||||
PS = "PS",
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 14; @position = 4; @symbol_enumdec = [FG,14,4,6]; ]
|
||||
FG = "FG"
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 16; @symbol_enumdef = [enTeam,16,12,18]; ]
|
||||
enum enTeam {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 17; @position = 4; @symbol_enumdec = [HOME,17,4,8]; ]
|
||||
HOME = "Home",
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 18; @position = 4; @symbol_enumdec = [AWAY,18,4,8]; ]
|
||||
AWAY = "Away"
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 20; @symbol_enumdef = [enPeriod,20,12,20]; ]
|
||||
enum enPeriod {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 21; @position = 4; @symbol_enumdec = [PLAY,21,4,8]; ]
|
||||
PLAY,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 22; @position = 4; @symbol_enumdec = [BREAK,22,4,9]; ]
|
||||
BREAK
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 24; @symbol_enumdef = [enAction,24,12,20]; ]
|
||||
enum enAction {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 25; @position = 4; @symbol_enumdec = [GOAL,25,4,8]; ]
|
||||
GOAL,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 26; @position = 4; @symbol_enumdec = [CARD,26,4,8]; ]
|
||||
CARD,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 27; @position = 4; @symbol_enumdec = [QUIT,27,4,8]; ]
|
||||
QUIT
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 29; @symbol_enumdef = [enGame,29,12,18]; ]
|
||||
enum enGame {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 30; @position = 4; @symbol_enumdec = [PREGAME,30,4,11]; ]
|
||||
PREGAME,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 31; @position = 4; @symbol_enumdec = [INGAME,31,4,10]; ]
|
||||
INGAME,
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 32; @position = 4; @symbol_enumdec = [POSTGAME,32,4,12]; ]
|
||||
POSTGAME
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 36; @position = 11; @symbol_vardef = [gMenuTeams,36,11,21]; @symbol_type<0> = [WatchUi,36,30,37]; @symbol_type<1> = [Menu2,36,38,43]; ]
|
||||
var gMenuTeams as WatchUi.Menu2 or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 37; @position = 11; @symbol_vardef = [gMenuActions,37,11,23]; @symbol_type<0> = [WatchUi,37,30,37]; @symbol_type<1> = [Menu2,37,38,43]; ]
|
||||
var gMenuActions as WatchUi.Menu2 or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 38; @position = 11; @symbol_vardef = [gMenuGoals,38,11,21]; @symbol_type<0> = [WatchUi,38,30,37]; @symbol_type<1> = [Menu2,38,38,43]; ]
|
||||
var gMenuGoals as WatchUi.Menu2 or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 39; @position = 11; @symbol_vardef = [gMenuCards,39,11,21]; @symbol_type<0> = [WatchUi,39,30,37]; @symbol_type<1> = [Menu2,39,38,43]; ]
|
||||
var gMenuCards as WatchUi.Menu2 or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 40; @position = 11; @symbol_vardef = [gMenuApp,40,11,19]; @symbol_type<0> = [WatchUi,40,30,37]; @symbol_type<1> = [Menu2,40,38,43]; ]
|
||||
var gMenuApp as WatchUi.Menu2 or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 42; @position = 11; @symbol_vardef = [gScore,42,11,17]; @symbol_type<0> = [String,42,30,36]; ]
|
||||
var gScore as String = "0-0";
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 43; @position = 11; @symbol_vardef = [gMatch,43,11,17]; @symbol_type<0> = [Match,43,30,35]; ]
|
||||
var gMatch as Match or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 45; @position = 11; @symbol_vardef = [gX,45,11,13]; @symbol_type<0> = [Number,45,26,32]; ]
|
||||
var gX as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 46; @position = 11; @symbol_vardef = [gR,46,11,13]; @symbol_type<0> = [Float,46,26,31]; ]
|
||||
var gR as Float or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 47; @position = 11; @symbol_vardef = [gH,47,11,13]; @symbol_type<0> = [Number,47,26,32]; ]
|
||||
var gH as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 48; @position = 11; @symbol_vardef = [gW,48,11,13]; @symbol_type<0> = [Number,48,26,32]; ]
|
||||
var gW as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 49; @position = 11; @symbol_vardef = [gY,49,11,13]; @symbol_type<0> = [Number,49,26,32]; ]
|
||||
var gY as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 50; @position = 11; @symbol_vardef = [gTitleArc,50,11,20]; @symbol_type<0> = [Float,50,26,31]; ]
|
||||
var gTitleArc as Float = 25.0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 51; @position = 11; @symbol_vardef = [gPenWidth,51,11,20]; @symbol_type<0> = [Float,51,26,31]; ]
|
||||
var gPenWidth as Float = 6.0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 52; @position = 11; @symbol_vardef = [gPeriodArc,52,11,21]; @symbol_type<0> = [Float,52,26,31]; ]
|
||||
var gPeriodArc as Float;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 53; @position = 11; @symbol_vardef = [gFilledArc,53,11,21]; @symbol_type<0> = [Float,53,26,31]; ]
|
||||
var gFilledArc as Float or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 54; @position = 11; @symbol_vardef = [gStartAngle,54,11,22]; @symbol_type<0> = [Float,54,30,35]; ]
|
||||
var gStartAngle as Float or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 55; @position = 11; @symbol_vardef = [gEndAngle,55,11,20]; @symbol_type<0> = [Float,55,30,35]; ]
|
||||
var gEndAngle as Float or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 56; @position = 11; @symbol_vardef = [gMM,56,11,14]; @symbol_type<0> = [Number,56,30,36]; ]
|
||||
var gMM as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 57; @position = 11; @symbol_vardef = [gSS,57,11,14]; @symbol_type<0> = [Number,57,30,36]; ]
|
||||
var gSS as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 58; @position = 11; @symbol_vardef = [gTM,58,11,14]; @symbol_type<0> = [String,58,30,36]; ]
|
||||
var gTM as String = "00:00";
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 59; @position = 11; @symbol_vardef = [gFontTimer,59,11,21]; ]
|
||||
var gFontTimer;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 60; @position = 11; @symbol_vardef = [gFontCards,60,11,21]; ]
|
||||
var gFontCards;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 61; @position = 11; @symbol_vardef = [gFontClock,61,11,21]; ]
|
||||
var gFontClock;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 62; @position = 11; @symbol_vardef = [gFontScore,62,11,21]; ]
|
||||
var gFontScore;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 64; @position = 11; @symbol_vardef = [gInfo,64,11,16]; @symbol_type<0> = [Time,64,30,34]; @symbol_type<1> = [Gregorian,64,35,44]; @symbol_type<2> = [Info,64,45,49]; ]
|
||||
var gInfo as Time.Gregorian.Info or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 65; @position = 11; @symbol_vardef = [gTime,65,11,16]; @symbol_type<0> = [String,65,30,36]; ]
|
||||
var gTime as String or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 67; @position = 11; @symbol_vardef = [gPlay,67,11,16]; ]
|
||||
var gPlay;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 68; @position = 11; @symbol_vardef = [gPause,68,11,17]; ]
|
||||
var gPause;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 69; @position = 11; @symbol_vardef = [gPlus,69,11,16]; ]
|
||||
var gPlus;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 70; @position = 11; @symbol_vardef = [gTextCard,70,11,20]; @symbol_type<0> = [String,70,25,31]; ]
|
||||
var gTextCard as String or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc"; @line = 1; ]
|
||||
<init> {
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 52 11 ]
|
||||
symbol [ gTitleArc %tmp.2 52 34 43 ];
|
||||
%tmp.2 = getv ? :gTitleArc;
|
||||
putv self :gPeriodArc %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 59 11 ]
|
||||
symbol [ WatchUi %tmp.3 59 24 31 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ loadResource %tmp.4 59 32 44 ];
|
||||
%tmp.4 = getv function %tmp.3 :loadResource;
|
||||
symbol [ $ %tmp.5 59 45 46 ];
|
||||
%tmp.5 = getm $;
|
||||
symbol [ Rez %tmp.6 59 47 50 ];
|
||||
%tmp.6 = getv %tmp.5 :Rez;
|
||||
symbol [ Fonts %tmp.7 59 51 56 ];
|
||||
%tmp.7 = getv %tmp.6 :Fonts;
|
||||
symbol [ SevenSegment %tmp.8 59 57 69 ];
|
||||
%tmp.8 = getv %tmp.7 :SevenSegment;
|
||||
%tmp.9 = invoke %tmp.3 %tmp.4(%tmp.8);
|
||||
putv self :gFontTimer %tmp.9;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 60 11 ]
|
||||
symbol [ WatchUi %tmp.10 60 24 31 ];
|
||||
%tmp.10 = getm $.Toybox.WatchUi;
|
||||
symbol [ loadResource %tmp.11 60 32 44 ];
|
||||
%tmp.11 = getv function %tmp.10 :loadResource;
|
||||
symbol [ $ %tmp.12 60 45 46 ];
|
||||
%tmp.12 = getm $;
|
||||
symbol [ Rez %tmp.13 60 47 50 ];
|
||||
%tmp.13 = getv %tmp.12 :Rez;
|
||||
symbol [ Fonts %tmp.14 60 51 56 ];
|
||||
%tmp.14 = getv %tmp.13 :Fonts;
|
||||
symbol [ font40 %tmp.15 60 57 63 ];
|
||||
%tmp.15 = getv %tmp.14 :font40;
|
||||
%tmp.16 = invoke %tmp.10 %tmp.11(%tmp.15);
|
||||
putv self :gFontCards %tmp.16;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 61 11 ]
|
||||
symbol [ WatchUi %tmp.17 61 24 31 ];
|
||||
%tmp.17 = getm $.Toybox.WatchUi;
|
||||
symbol [ loadResource %tmp.18 61 32 44 ];
|
||||
%tmp.18 = getv function %tmp.17 :loadResource;
|
||||
symbol [ $ %tmp.19 61 45 46 ];
|
||||
%tmp.19 = getm $;
|
||||
symbol [ Rez %tmp.20 61 47 50 ];
|
||||
%tmp.20 = getv %tmp.19 :Rez;
|
||||
symbol [ Fonts %tmp.21 61 51 56 ];
|
||||
%tmp.21 = getv %tmp.20 :Fonts;
|
||||
symbol [ led_small %tmp.22 61 57 66 ];
|
||||
%tmp.22 = getv %tmp.21 :led_small;
|
||||
%tmp.23 = invoke %tmp.17 %tmp.18(%tmp.22);
|
||||
putv self :gFontClock %tmp.23;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 62 11 ]
|
||||
symbol [ WatchUi %tmp.24 62 24 31 ];
|
||||
%tmp.24 = getm $.Toybox.WatchUi;
|
||||
symbol [ loadResource %tmp.25 62 32 44 ];
|
||||
%tmp.25 = getv function %tmp.24 :loadResource;
|
||||
symbol [ $ %tmp.26 62 45 46 ];
|
||||
%tmp.26 = getm $;
|
||||
symbol [ Rez %tmp.27 62 47 50 ];
|
||||
%tmp.27 = getv %tmp.26 :Rez;
|
||||
symbol [ Fonts %tmp.28 62 51 56 ];
|
||||
%tmp.28 = getv %tmp.27 :Fonts;
|
||||
symbol [ font40 %tmp.29 62 57 63 ];
|
||||
%tmp.29 = getv %tmp.28 :font40;
|
||||
%tmp.30 = invoke %tmp.24 %tmp.25(%tmp.29);
|
||||
putv self :gFontScore %tmp.30;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 67 11 ]
|
||||
symbol [ WatchUi %tmp.31 67 20 27 ];
|
||||
%tmp.31 = getm $.Toybox.WatchUi;
|
||||
symbol [ loadResource %tmp.32 67 28 40 ];
|
||||
%tmp.32 = getv function %tmp.31 :loadResource;
|
||||
symbol [ $ %tmp.33 67 41 42 ];
|
||||
%tmp.33 = getm $;
|
||||
symbol [ Rez %tmp.34 67 43 46 ];
|
||||
%tmp.34 = getv %tmp.33 :Rez;
|
||||
symbol [ Drawables %tmp.35 67 47 56 ];
|
||||
%tmp.35 = getv %tmp.34 :Drawables;
|
||||
symbol [ play %tmp.36 67 57 61 ];
|
||||
%tmp.36 = getv %tmp.35 :play;
|
||||
%tmp.37 = invoke %tmp.31 %tmp.32(%tmp.36);
|
||||
putv self :gPlay %tmp.37;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 68 11 ]
|
||||
symbol [ WatchUi %tmp.38 68 20 27 ];
|
||||
%tmp.38 = getm $.Toybox.WatchUi;
|
||||
symbol [ loadResource %tmp.39 68 28 40 ];
|
||||
%tmp.39 = getv function %tmp.38 :loadResource;
|
||||
symbol [ $ %tmp.40 68 41 42 ];
|
||||
%tmp.40 = getm $;
|
||||
symbol [ Rez %tmp.41 68 43 46 ];
|
||||
%tmp.41 = getv %tmp.40 :Rez;
|
||||
symbol [ Drawables %tmp.42 68 47 56 ];
|
||||
%tmp.42 = getv %tmp.41 :Drawables;
|
||||
symbol [ pause %tmp.43 68 57 62 ];
|
||||
%tmp.43 = getv %tmp.42 :pause;
|
||||
%tmp.44 = invoke %tmp.38 %tmp.39(%tmp.43);
|
||||
putv self :gPause %tmp.44;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appGlobals.mc" 69 11 ]
|
||||
symbol [ WatchUi %tmp.45 69 20 27 ];
|
||||
%tmp.45 = getm $.Toybox.WatchUi;
|
||||
symbol [ loadResource %tmp.46 69 28 40 ];
|
||||
%tmp.46 = getv function %tmp.45 :loadResource;
|
||||
symbol [ $ %tmp.47 69 41 42 ];
|
||||
%tmp.47 = getm $;
|
||||
symbol [ Rez %tmp.48 69 43 46 ];
|
||||
%tmp.48 = getv %tmp.47 :Rez;
|
||||
symbol [ Drawables %tmp.49 69 47 56 ];
|
||||
%tmp.49 = getv %tmp.48 :Drawables;
|
||||
symbol [ plus %tmp.50 69 57 61 ];
|
||||
%tmp.50 = getv %tmp.49 :plus;
|
||||
%tmp.51 = invoke %tmp.45 %tmp.46(%tmp.50);
|
||||
putv self :gPlus %tmp.51;
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Application,1,14,25]; ]
|
||||
import Toybox.Application;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [Lang,2,14,18]; ]
|
||||
import Toybox.Lang;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.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/appMain.mc"; @line = 5; @symbol_classdef = [hockeyTimerApp,5,6,20]; @symbol_extends<0> = [Application,5,29,40]; @symbol_extends<1> = [AppBase,5,41,48]; ]
|
||||
class hockeyTimerApp extends Application.AppBase {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 5; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 5; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 7; @symbol_functiondef = [initialize,7,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_7_26_9_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 8 8 ]
|
||||
symbol [ AppBase %tmp.2 8 8 15 ];
|
||||
%tmp.2 = getv ? :AppBase;
|
||||
symbol [ initialize %tmp.3 8 16 26 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_7_26_9_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 11; @symbol_functiondef = [onStart,11,13,20]; @symbol_param<0> = [state,11,21,26]; @symbol_param<0>_type<0> = [Dictionary,11,30,40]; ]
|
||||
function onStart(state as Dictionary or Null) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_11_51_13_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 12 8 ]
|
||||
%tmp.1 = self;
|
||||
symbol [ reloadSettings %tmp.2 12 8 22 ];
|
||||
%tmp.2 = getv function %tmp.1 :reloadSettings;
|
||||
invoke %tmp.1 %tmp.2();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_11_51_13_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 15; @symbol_functiondef = [onStop,15,13,19]; @symbol_param<0> = [state,15,20,25]; @symbol_param<0>_type<0> = [Dictionary,15,29,39]; ]
|
||||
function onStop(state as Dictionary or Null) as Void {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 18; @symbol_functiondef = [getInitialView,18,13,27]; @symbol_return<0> = [Views,18,34,39]; @symbol_return<1> = [Views,18,45,50]; @symbol_return<2> = [InputDelegates,18,52,66]; ]
|
||||
function getInitialView() as [Views] or [Views, InputDelegates] {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_18_68_20_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 19 8 ]
|
||||
%tmp.1 = newa 2;
|
||||
symbol [ mainView %tmp.5 19 20 28 ];
|
||||
%tmp.5 = getv ? :mainView;
|
||||
%tmp.2 = newc %tmp.5 ();
|
||||
%tmp.6 = dup %tmp.1;
|
||||
%tmp.7 = aputv %tmp.6 0 %tmp.2;
|
||||
symbol [ mainDelegate %tmp.11 19 36 48 ];
|
||||
%tmp.11 = getv ? :mainDelegate;
|
||||
%tmp.8 = newc %tmp.11 ();
|
||||
%tmp.12 = dup %tmp.7;
|
||||
%tmp.13 = aputv %tmp.12 1 %tmp.8;
|
||||
ret %tmp.13;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_18_68_20_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 22; @symbol_functiondef = [onSettingsChanged,22,13,30]; ]
|
||||
function onSettingsChanged() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_22_41_24_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 23 8 ]
|
||||
%tmp.1 = self;
|
||||
symbol [ reloadSettings %tmp.2 23 8 22 ];
|
||||
%tmp.2 = getv function %tmp.1 :reloadSettings;
|
||||
invoke %tmp.1 %tmp.2();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_22_41_24_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 26; @symbol_functiondef = [reloadSettings,26,16,30]; ]
|
||||
function reloadSettings() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_26_40_32_0_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 27 4 ]
|
||||
[ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_26_40_32_0_start" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_26_40_32_0_stop" ]
|
||||
%s.1 = local;
|
||||
symbol [ s %s.1 27 8 9 ];
|
||||
symbol [ Application %tmp.1 27 12 23 ];
|
||||
%tmp.1 = getm $.Toybox.Application;
|
||||
symbol [ Properties %tmp.2 27 24 34 ];
|
||||
%tmp.2 = getv %tmp.1 :Properties;
|
||||
symbol [ getValue %tmp.3 27 35 43 ];
|
||||
%tmp.3 = getv function %tmp.2 :getValue;
|
||||
%tmp.4 = "color_theme";
|
||||
%tmp.5 = invoke %tmp.2 %tmp.3(%tmp.4);
|
||||
%tmp.6 = as %tmp.5 Number;
|
||||
symbol [ Number %tmp.6 27 62 68 ];
|
||||
lputv %s.1 %tmp.6;
|
||||
symbol [ s %s.1 27 8 9 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 29 4 ]
|
||||
%tmp.7 = self;
|
||||
symbol [ setColourTheme %tmp.8 29 4 18 ];
|
||||
%tmp.8 = getv function %tmp.7 :setColourTheme;
|
||||
%tmp.9 = lgetv %s.1;
|
||||
symbol [ s %tmp.9 29 19 20 ];
|
||||
invoke %tmp.7 %tmp.8(%tmp.9);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 30 4 ]
|
||||
symbol [ WatchUi %tmp.10 30 4 11 ];
|
||||
%tmp.10 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.11 30 12 25 ];
|
||||
%tmp.11 = getv function %tmp.10 :requestUpdate;
|
||||
invoke %tmp.10 %tmp.11();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_26_40_32_0_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 33; @symbol_functiondef = [getApp,33,9,15]; @symbol_return<0> = [hockeyTimerApp,33,21,35]; ]
|
||||
function getApp() as hockeyTimerApp {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_33_36_35_0_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 34 4 ]
|
||||
symbol [ Application %tmp.1 34 11 22 ];
|
||||
%tmp.1 = getm $.Toybox.Application;
|
||||
symbol [ getApp %tmp.2 34 23 29 ];
|
||||
%tmp.2 = getv function %tmp.1 :getApp;
|
||||
%tmp.3 = invoke %tmp.1 %tmp.2();
|
||||
%tmp.4 = as %tmp.3 hockeyTimerApp;
|
||||
symbol [ hockeyTimerApp %tmp.4 34 35 49 ];
|
||||
ret %tmp.4;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_33_36_35_0_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,9 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/draw/ CurrentTime.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/draw/ CurrentTime.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [Graphics,2,14,22]; ]
|
||||
import Toybox.Graphics;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/draw/ CurrentTime.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Application,3,14,25]; ]
|
||||
import Toybox.Application;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/draw/ CurrentTime.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Application,1,14,25]; ]
|
||||
import Toybox.Application;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [Lang,2,14,18]; ]
|
||||
import Toybox.Lang;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.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/hockeyTimerApp.mc"; @line = 5; @symbol_classdef = [hockeyTimerApp,5,6,20]; @symbol_extends<0> = [Application,5,29,40]; @symbol_extends<1> = [AppBase,5,41,48]; ]
|
||||
class hockeyTimerApp extends Application.AppBase {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 5; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 5; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 7; @symbol_functiondef = [initialize,7,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_7_26_9_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc" 8 8 ]
|
||||
symbol [ AppBase %tmp.2 8 8 15 ];
|
||||
%tmp.2 = getv ? :AppBase;
|
||||
symbol [ initialize %tmp.3 8 16 26 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_7_26_9_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 12; @symbol_functiondef = [onStart,12,13,20]; @symbol_param<0> = [state,12,21,26]; @symbol_param<0>_type<0> = [Dictionary,12,30,40]; ]
|
||||
function onStart(state as Dictionary or Null) as Void {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 16; @symbol_functiondef = [onStop,16,13,19]; @symbol_param<0> = [state,16,20,25]; @symbol_param<0>_type<0> = [Dictionary,16,29,39]; ]
|
||||
function onStop(state as Dictionary or Null) as Void {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 20; @symbol_functiondef = [getInitialView,20,13,27]; @symbol_return<0> = [Views,20,34,39]; @symbol_return<1> = [Views,20,45,50]; @symbol_return<2> = [InputDelegates,20,52,66]; ]
|
||||
function getInitialView() as [Views] or [Views, InputDelegates] {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_20_68_22_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc" 21 8 ]
|
||||
%tmp.1 = newa 2;
|
||||
symbol [ hockeyTimerView %tmp.5 21 21 36 ];
|
||||
%tmp.5 = getv ? :hockeyTimerView;
|
||||
%tmp.2 = newc %tmp.5 ();
|
||||
%tmp.6 = dup %tmp.1;
|
||||
%tmp.7 = aputv %tmp.6 0 %tmp.2;
|
||||
symbol [ MyInputDelegate %tmp.11 21 44 59 ];
|
||||
%tmp.11 = getv ? :MyInputDelegate;
|
||||
%tmp.8 = newc %tmp.11 ();
|
||||
%tmp.12 = dup %tmp.7;
|
||||
%tmp.13 = aputv %tmp.12 1 %tmp.8;
|
||||
ret %tmp.13;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_20_68_22_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 26; @symbol_functiondef = [getApp,26,9,15]; @symbol_return<0> = [hockeyTimerApp,26,21,35]; ]
|
||||
function getApp() as hockeyTimerApp {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_26_36_28_0_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc" 27 4 ]
|
||||
symbol [ Application %tmp.1 27 11 22 ];
|
||||
%tmp.1 = getm $.Toybox.Application;
|
||||
symbol [ getApp %tmp.2 27 23 29 ];
|
||||
%tmp.2 = getv function %tmp.1 :getApp;
|
||||
%tmp.3 = invoke %tmp.1 %tmp.2();
|
||||
%tmp.4 = as %tmp.3 hockeyTimerApp;
|
||||
symbol [ hockeyTimerApp %tmp.4 27 35 49 ];
|
||||
ret %tmp.4;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_26_36_28_0_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -1,508 +0,0 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.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/hockeyTimerDelegate.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 4; @symbol_classdef = [MyInputDelegate,4,6,21]; @symbol_extends<0> = [WatchUi,4,30,37]; @symbol_extends<1> = [InputDelegate,4,38,51]; ]
|
||||
class MyInputDelegate extends WatchUi.InputDelegate {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 4; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 4; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 6; @symbol_functiondef = [initialize,6,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_6_26_8_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 7 8 ]
|
||||
symbol [ InputDelegate %tmp.2 7 8 21 ];
|
||||
%tmp.2 = getv ? :InputDelegate;
|
||||
symbol [ initialize %tmp.3 7 22 32 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_6_26_8_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 10; @symbol_functiondef = [onDrag,10,13,19]; @symbol_param<0> = [dragEvent,10,20,29]; @symbol_param<0>_type<0> = [WatchUi,10,33,40]; @symbol_param<0>_type<1> = [DragEvent,10,41,50]; @symbol_return<0> = [Lang,10,55,59]; @symbol_return<1> = [Boolean,10,60,67]; ]
|
||||
function onDrag(dragEvent as WatchUi.DragEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_10_68_16_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 11 6 ]
|
||||
symbol [ $ %tmp.1 11 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "on-Drag";
|
||||
symbol [ kjr ? 11 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 12 6 ]
|
||||
symbol [ System %tmp.4 12 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 12 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %dragEvent;
|
||||
symbol [ dragEvent %tmp.6 12 21 30 ];
|
||||
symbol [ getType %tmp.7 12 31 38 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 13 6 ]
|
||||
symbol [ WatchUi %tmp.9 13 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 13 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 14 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_10_68_16_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 17; @symbol_functiondef = [onFlick,17,13,20]; @symbol_param<0> = [flickEvent,17,21,31]; @symbol_param<0>_type<0> = [WatchUi,17,35,42]; @symbol_param<0>_type<1> = [FlickEvent,17,43,53]; @symbol_return<0> = [Lang,17,58,62]; @symbol_return<1> = [Boolean,17,63,70]; ]
|
||||
function onFlick(flickEvent as WatchUi.FlickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_17_71_22_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 18 6 ]
|
||||
symbol [ $ %tmp.1 18 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onFlick";
|
||||
symbol [ kjr ? 18 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 19 6 ]
|
||||
symbol [ System %tmp.4 19 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 19 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %flickEvent;
|
||||
symbol [ flickEvent %tmp.6 19 21 31 ];
|
||||
symbol [ getDirection %tmp.7 19 32 44 ];
|
||||
%tmp.7 = getv function %tmp.6 :getDirection;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 20 6 ]
|
||||
symbol [ WatchUi %tmp.9 20 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 20 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 21 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_17_71_22_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 23; @symbol_functiondef = [onHold,23,13,19]; @symbol_param<0> = [clickEvent,23,20,30]; @symbol_param<0>_type<0> = [WatchUi,23,34,41]; @symbol_param<0>_type<1> = [ClickEvent,23,42,52]; @symbol_return<0> = [Lang,23,57,61]; @symbol_return<1> = [Boolean,23,62,69]; ]
|
||||
function onHold(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_23_70_28_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 24 6 ]
|
||||
symbol [ $ %tmp.1 24 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onHold";
|
||||
symbol [ kjr ? 24 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 25 6 ]
|
||||
symbol [ System %tmp.4 25 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 25 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %clickEvent;
|
||||
symbol [ clickEvent %tmp.6 25 21 31 ];
|
||||
symbol [ getType %tmp.7 25 32 39 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 26 6 ]
|
||||
symbol [ WatchUi %tmp.9 26 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 26 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 27 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_23_70_28_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 29; @symbol_functiondef = [onKey,29,13,18]; @symbol_param<0> = [keyEvent,29,19,27]; @symbol_param<0>_type<0> = [WatchUi,29,31,38]; @symbol_param<0>_type<1> = [KeyEvent,29,39,47]; @symbol_return<0> = [Lang,29,52,56]; @symbol_return<1> = [Boolean,29,57,64]; ]
|
||||
function onKey(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_29_65_34_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 30 6 ]
|
||||
symbol [ $ %tmp.1 30 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onKey";
|
||||
symbol [ kjr ? 30 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 31 6 ]
|
||||
symbol [ System %tmp.4 31 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 31 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %keyEvent;
|
||||
symbol [ keyEvent %tmp.6 31 21 29 ];
|
||||
symbol [ getKey %tmp.7 31 30 36 ];
|
||||
%tmp.7 = getv function %tmp.6 :getKey;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 32 6 ]
|
||||
symbol [ WatchUi %tmp.9 32 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 32 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 33 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_29_65_34_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 35; @symbol_functiondef = [onKeyPressed,35,13,25]; @symbol_param<0> = [keyEvent,35,26,34]; @symbol_param<0>_type<0> = [WatchUi,35,38,45]; @symbol_param<0>_type<1> = [KeyEvent,35,46,54]; @symbol_return<0> = [Lang,35,59,63]; @symbol_return<1> = [Boolean,35,64,71]; ]
|
||||
function onKeyPressed(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_35_72_40_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 36 6 ]
|
||||
symbol [ $ %tmp.1 36 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onKeyPressed";
|
||||
symbol [ kjr ? 36 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 37 6 ]
|
||||
symbol [ System %tmp.4 37 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 37 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %keyEvent;
|
||||
symbol [ keyEvent %tmp.6 37 21 29 ];
|
||||
symbol [ getKey %tmp.7 37 30 36 ];
|
||||
%tmp.7 = getv function %tmp.6 :getKey;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 38 6 ]
|
||||
symbol [ WatchUi %tmp.9 38 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 38 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 39 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_35_72_40_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 41; @symbol_functiondef = [onKeyReleased,41,13,26]; @symbol_param<0> = [keyEvent,41,27,35]; @symbol_param<0>_type<0> = [WatchUi,41,39,46]; @symbol_param<0>_type<1> = [KeyEvent,41,47,55]; @symbol_return<0> = [Lang,41,60,64]; @symbol_return<1> = [Boolean,41,65,72]; ]
|
||||
function onKeyReleased(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_41_73_46_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 42 6 ]
|
||||
symbol [ $ %tmp.1 42 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onKeyReleased";
|
||||
symbol [ kjr ? 42 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 43 6 ]
|
||||
symbol [ System %tmp.4 43 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 43 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %keyEvent;
|
||||
symbol [ keyEvent %tmp.6 43 21 29 ];
|
||||
symbol [ getKey %tmp.7 43 30 36 ];
|
||||
%tmp.7 = getv function %tmp.6 :getKey;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 44 6 ]
|
||||
symbol [ WatchUi %tmp.9 44 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 44 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 45 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_41_73_46_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 47; @symbol_functiondef = [onRelease,47,13,22]; @symbol_param<0> = [clickEvent,47,23,33]; @symbol_param<0>_type<0> = [WatchUi,47,37,44]; @symbol_param<0>_type<1> = [ClickEvent,47,45,55]; @symbol_return<0> = [Lang,47,60,64]; @symbol_return<1> = [Boolean,47,65,72]; ]
|
||||
function onRelease(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_47_73_52_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 48 6 ]
|
||||
symbol [ $ %tmp.1 48 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onRelease";
|
||||
symbol [ kjr ? 48 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 49 6 ]
|
||||
symbol [ System %tmp.4 49 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 49 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %clickEvent;
|
||||
symbol [ clickEvent %tmp.6 49 21 31 ];
|
||||
symbol [ getType %tmp.7 49 32 39 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 50 6 ]
|
||||
symbol [ WatchUi %tmp.9 50 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 50 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 51 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_47_73_52_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 53; @symbol_functiondef = [onSelectable,53,13,25]; @symbol_param<0> = [selectableEvent,53,26,41]; @symbol_param<0>_type<0> = [WatchUi,53,45,52]; @symbol_param<0>_type<1> = [SelectableEvent,53,53,68]; @symbol_return<0> = [Lang,53,73,77]; @symbol_return<1> = [Boolean,53,78,85]; ]
|
||||
function onSelectable(selectableEvent as WatchUi.SelectableEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_53_86_57_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 54 6 ]
|
||||
symbol [ $ %tmp.1 54 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onSelectable";
|
||||
symbol [ kjr ? 54 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 55 6 ]
|
||||
symbol [ WatchUi %tmp.3 55 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 55 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 56 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_53_86_57_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 58; @symbol_functiondef = [onSwipe,58,13,20]; @symbol_param<0> = [swipeEvent,58,21,31]; @symbol_param<0>_type<0> = [WatchUi,58,35,42]; @symbol_param<0>_type<1> = [SwipeEvent,58,43,53]; @symbol_return<0> = [Lang,58,58,62]; @symbol_return<1> = [Boolean,58,63,70]; ]
|
||||
function onSwipe(swipeEvent as WatchUi.SwipeEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_58_71_63_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 59 6 ]
|
||||
symbol [ $ %tmp.1 59 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onSwipe";
|
||||
symbol [ kjr ? 59 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 60 6 ]
|
||||
symbol [ System %tmp.4 60 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 60 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %swipeEvent;
|
||||
symbol [ swipeEvent %tmp.6 60 21 31 ];
|
||||
symbol [ getDirection %tmp.7 60 32 44 ];
|
||||
%tmp.7 = getv function %tmp.6 :getDirection;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 61 6 ]
|
||||
symbol [ WatchUi %tmp.9 61 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 61 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 62 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_58_71_63_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 64; @symbol_functiondef = [onTap,64,13,18]; @symbol_param<0> = [clickEvent,64,19,29]; @symbol_param<0>_type<0> = [WatchUi,64,33,40]; @symbol_param<0>_type<1> = [ClickEvent,64,41,51]; @symbol_return<0> = [Lang,64,56,60]; @symbol_return<1> = [Boolean,64,61,68]; ]
|
||||
function onTap(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_64_69_69_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 65 6 ]
|
||||
symbol [ $ %tmp.1 65 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onTap";
|
||||
symbol [ kjr ? 65 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 66 6 ]
|
||||
symbol [ System %tmp.4 66 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 66 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %clickEvent;
|
||||
symbol [ clickEvent %tmp.6 66 21 31 ];
|
||||
symbol [ getType %tmp.7 66 32 39 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 67 6 ]
|
||||
symbol [ WatchUi %tmp.9 67 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 67 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 68 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_64_69_69_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 72; @symbol_classdef = [MyBehaviorDelegate,72,6,24]; @symbol_extends<0> = [WatchUi,72,33,40]; @symbol_extends<1> = [BehaviorDelegate,72,41,57]; ]
|
||||
class MyBehaviorDelegate extends WatchUi.BehaviorDelegate {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 72; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 72; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 74; @symbol_functiondef = [initialize,74,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_74_26_76_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 75 8 ]
|
||||
symbol [ BehaviorDelegate %tmp.2 75 8 24 ];
|
||||
%tmp.2 = getv ? :BehaviorDelegate;
|
||||
symbol [ initialize %tmp.3 75 25 35 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_74_26_76_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 78; @symbol_functiondef = [onMenu,78,13,19]; @symbol_return<0> = [Boolean,78,25,32]; ]
|
||||
function onMenu() as Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_78_33_82_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 79 6 ]
|
||||
symbol [ $ %tmp.1 79 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "OnMenu";
|
||||
symbol [ kjr ? 79 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 80 6 ]
|
||||
symbol [ WatchUi %tmp.3 80 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 80 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 81 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_78_33_82_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 83; @symbol_functiondef = [onActionMenu,83,13,25]; @symbol_return<0> = [Boolean,83,31,38]; ]
|
||||
function onActionMenu() as Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_83_39_87_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 84 6 ]
|
||||
symbol [ $ %tmp.1 84 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onActionMenu";
|
||||
symbol [ kjr ? 84 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 85 6 ]
|
||||
symbol [ WatchUi %tmp.3 85 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 85 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 86 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_83_39_87_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 89; @symbol_functiondef = [onBack,89,13,19]; @symbol_return<0> = [Boolean,89,25,32]; ]
|
||||
function onBack() as Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_89_33_93_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 90 6 ]
|
||||
symbol [ $ %tmp.1 90 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onBack";
|
||||
symbol [ kjr ? 90 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 91 6 ]
|
||||
symbol [ WatchUi %tmp.3 91 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 91 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 92 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_89_33_93_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 95; @symbol_functiondef = [onNextMode,95,13,23]; @symbol_return<0> = [Lang,95,29,33]; @symbol_return<1> = [Boolean,95,34,41]; ]
|
||||
function onNextMode() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_95_42_99_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 96 6 ]
|
||||
symbol [ $ %tmp.1 96 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onNextMode";
|
||||
symbol [ kjr ? 96 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 97 6 ]
|
||||
symbol [ WatchUi %tmp.3 97 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 97 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 98 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_95_42_99_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 101; @symbol_functiondef = [onNextPage,101,13,23]; @symbol_return<0> = [Lang,101,29,33]; @symbol_return<1> = [Boolean,101,34,41]; ]
|
||||
function onNextPage() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_101_42_105_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 102 6 ]
|
||||
symbol [ $ %tmp.1 102 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onNextPage";
|
||||
symbol [ kjr ? 102 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 103 6 ]
|
||||
symbol [ WatchUi %tmp.3 103 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 103 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 104 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_101_42_105_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 107; @symbol_functiondef = [onPreviousMode,107,13,27]; @symbol_return<0> = [Lang,107,33,37]; @symbol_return<1> = [Boolean,107,38,45]; ]
|
||||
function onPreviousMode() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_107_46_111_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 108 6 ]
|
||||
symbol [ $ %tmp.1 108 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onPreviousMode";
|
||||
symbol [ kjr ? 108 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 109 6 ]
|
||||
symbol [ WatchUi %tmp.3 109 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 109 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 110 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_107_46_111_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 113; @symbol_functiondef = [onPreviousPage,113,13,27]; @symbol_return<0> = [Lang,113,33,37]; @symbol_return<1> = [Boolean,113,38,45]; ]
|
||||
function onPreviousPage() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_113_46_117_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 114 6 ]
|
||||
symbol [ $ %tmp.1 114 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onPreviousPage";
|
||||
symbol [ kjr ? 114 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 115 6 ]
|
||||
symbol [ WatchUi %tmp.3 115 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 115 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 116 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_113_46_117_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 119; @symbol_functiondef = [onSelect,119,13,21]; @symbol_return<0> = [Lang,119,27,31]; @symbol_return<1> = [Boolean,119,32,39]; ]
|
||||
function onSelect() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_119_39_123_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 120 6 ]
|
||||
symbol [ $ %tmp.1 120 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onSelect";
|
||||
symbol [ kjr ? 120 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 121 6 ]
|
||||
symbol [ WatchUi %tmp.3 121 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 121 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 122 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_119_39_123_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.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/hockeyTimerMenuDelegate.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/hockeyTimerMenuDelegate.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/hockeyTimerMenuDelegate.mc"; @line = 5; @symbol_classdef = [hockeyTimerMenuDelegate,5,6,29]; @symbol_extends<0> = [WatchUi,5,38,45]; @symbol_extends<1> = [MenuInputDelegate,5,46,63]; ]
|
||||
class hockeyTimerMenuDelegate extends WatchUi.MenuInputDelegate {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 5; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 5; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 7; @symbol_functiondef = [initialize,7,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_7_26_9_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc" 8 8 ]
|
||||
symbol [ MenuInputDelegate %tmp.2 8 8 25 ];
|
||||
%tmp.2 = getv ? :MenuInputDelegate;
|
||||
symbol [ initialize %tmp.3 8 26 36 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_7_26_9_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 11; @symbol_functiondef = [onMenuItem,11,13,23]; @symbol_param<0> = [item,11,24,28]; @symbol_param<0>_type<0> = [Symbol,11,32,38]; ]
|
||||
function onMenuItem(item as Symbol) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_11_48_17_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc" 12 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_stmt:
|
||||
%tmp.1 = lgetv %item;
|
||||
symbol [ item %tmp.1 12 12 16 ];
|
||||
%tmp.3 = const :item_1;
|
||||
symbol [ item_1 %tmp.3 12 21 27 const ];
|
||||
%tmp.4 = eq %tmp.1 %tmp.3;
|
||||
bf %tmp.4 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_false;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_29_14_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc" 13 12 ]
|
||||
symbol [ System %tmp.5 13 12 18 ];
|
||||
%tmp.5 = getm $.Toybox.System;
|
||||
symbol [ println %tmp.6 13 19 26 ];
|
||||
%tmp.6 = getv function %tmp.5 :println;
|
||||
%tmp.7 = "item 1";
|
||||
invoke %tmp.5 %tmp.6(%tmp.7);
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_29_14_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_false:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc" 14 15 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_15_16_8_if_stmt:
|
||||
%tmp.8 = lgetv %item;
|
||||
symbol [ item %tmp.8 14 19 23 ];
|
||||
%tmp.10 = const :item_2;
|
||||
symbol [ item_2 %tmp.10 14 28 34 const ];
|
||||
%tmp.11 = eq %tmp.8 %tmp.10;
|
||||
bf %tmp.11 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_15_16_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_15_16_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_36_16_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc" 15 12 ]
|
||||
symbol [ System %tmp.12 15 12 18 ];
|
||||
%tmp.12 = getm $.Toybox.System;
|
||||
symbol [ println %tmp.13 15 19 26 ];
|
||||
%tmp.13 = getv function %tmp.12 :println;
|
||||
%tmp.14 = "item 2";
|
||||
invoke %tmp.12 %tmp.13(%tmp.14);
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_36_16_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_15_16_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_15_16_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_11_48_17_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -1,127 +0,0 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Graphics,1,14,22]; ]
|
||||
import Toybox.Graphics;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Lang,3,14,18]; ]
|
||||
import Toybox.Lang;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 5; @position = 11; @symbol_vardef = [kjr,5,11,14]; @symbol_type<0> = [String,5,18,24]; ]
|
||||
var kjr as String = "88:88";
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 7; @symbol_classdef = [hockeyTimerView,7,6,21]; @symbol_extends<0> = [WatchUi,7,30,37]; @symbol_extends<1> = [View,7,38,42]; ]
|
||||
class hockeyTimerView extends WatchUi.View {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 7; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 7; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 9; @symbol_functiondef = [initialize,9,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_9_26_11_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 10 8 ]
|
||||
symbol [ View %tmp.2 10 8 12 ];
|
||||
%tmp.2 = getv ? :View;
|
||||
symbol [ initialize %tmp.3 10 13 23 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_9_26_11_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 14; @symbol_functiondef = [onLayout,14,13,21]; @symbol_param<0> = [dc,14,22,24]; @symbol_param<0>_type<0> = [Dc,14,28,30]; ]
|
||||
function onLayout(dc as Dc) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_14_40_17_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 16 8 ]
|
||||
symbol [ $ %tmp.1 16 8 9 ];
|
||||
%tmp.1 = getm $;
|
||||
symbol [ setColourTheme %tmp.2 16 10 24 ];
|
||||
%tmp.2 = getv function %tmp.1 :setColourTheme;
|
||||
%tmp.3 = 1;
|
||||
invoke %tmp.1 %tmp.2(%tmp.3);
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_14_40_17_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 22; @symbol_functiondef = [onShow,22,13,19]; ]
|
||||
function onShow() as Void {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 26; @symbol_functiondef = [onUpdate,26,13,21]; @symbol_param<0> = [dc,26,22,24]; @symbol_param<0>_type<0> = [Dc,26,28,30]; ]
|
||||
function onUpdate(dc as Dc) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 27 8 ]
|
||||
[ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_start" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_stop" ]
|
||||
%_colourBG.1 = local;
|
||||
symbol [ _colourBG %_colourBG.1 27 12 21 ];
|
||||
symbol [ $ %tmp.1 27 28 29 ];
|
||||
%tmp.1 = getm $;
|
||||
symbol [ gColours %tmp.2 27 30 38 ];
|
||||
%tmp.2 = getv %tmp.1 :gColours;
|
||||
symbol [ background %tmp.4 27 39 49 ];
|
||||
%tmp.4 = getv ? :background;
|
||||
%tmp.5 = agetv %tmp.2 %tmp.4;
|
||||
lputv %_colourBG.1 %tmp.5;
|
||||
symbol [ _colourBG %_colourBG.1 27 12 21 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 29 8 ]
|
||||
[ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_start" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_stop" ]
|
||||
%_colourText.2 = local;
|
||||
symbol [ _colourText %_colourText.2 29 12 23 ];
|
||||
symbol [ $ %tmp.6 29 28 29 ];
|
||||
%tmp.6 = getm $;
|
||||
symbol [ gColours %tmp.7 29 30 38 ];
|
||||
%tmp.7 = getv %tmp.6 :gColours;
|
||||
symbol [ timer %tmp.9 29 39 44 ];
|
||||
%tmp.9 = getv ? :timer;
|
||||
%tmp.10 = agetv %tmp.7 %tmp.9;
|
||||
lputv %_colourText.2 %tmp.10;
|
||||
symbol [ _colourText %_colourText.2 29 12 23 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 32 8 ]
|
||||
%tmp.11 = lgetv %dc;
|
||||
symbol [ dc %tmp.11 32 8 10 ];
|
||||
symbol [ setColor %tmp.12 32 11 19 ];
|
||||
%tmp.12 = getv function %tmp.11 :setColor;
|
||||
%tmp.13 = lgetv %_colourText.2;
|
||||
symbol [ _colourText %tmp.13 32 20 31 ];
|
||||
%tmp.14 = lgetv %_colourBG.1;
|
||||
symbol [ _colourBG %tmp.14 32 33 42 ];
|
||||
invoke %tmp.11 %tmp.12(%tmp.13, %tmp.14);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 33 8 ]
|
||||
%tmp.15 = lgetv %dc;
|
||||
symbol [ dc %tmp.15 33 8 10 ];
|
||||
symbol [ clear %tmp.16 33 11 16 ];
|
||||
%tmp.16 = getv function %tmp.15 :clear;
|
||||
invoke %tmp.15 %tmp.16();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 35 8 ]
|
||||
%tmp.17 = lgetv %dc;
|
||||
symbol [ dc %tmp.17 35 8 10 ];
|
||||
symbol [ drawText %tmp.18 35 11 19 ];
|
||||
%tmp.18 = getv function %tmp.17 :drawText;
|
||||
%tmp.19 = lgetv %dc;
|
||||
symbol [ dc %tmp.19 35 20 22 ];
|
||||
symbol [ getWidth %tmp.20 35 23 31 ];
|
||||
%tmp.20 = getv function %tmp.19 :getWidth;
|
||||
%tmp.21 = invoke %tmp.19 %tmp.20();
|
||||
%tmp.22 = 2;
|
||||
%tmp.23 = div %tmp.21 %tmp.22;
|
||||
%tmp.24 = lgetv %dc;
|
||||
symbol [ dc %tmp.24 35 38 40 ];
|
||||
symbol [ getHeight %tmp.25 35 41 50 ];
|
||||
%tmp.25 = getv function %tmp.24 :getHeight;
|
||||
%tmp.26 = invoke %tmp.24 %tmp.25();
|
||||
%tmp.27 = 3;
|
||||
%tmp.28 = div %tmp.26 %tmp.27;
|
||||
symbol [ Graphics %tmp.29 35 56 64 ];
|
||||
%tmp.29 = getm $.Toybox.Graphics;
|
||||
symbol [ FONT_MEDIUM %tmp.30 35 65 76 ];
|
||||
%tmp.30 = getv %tmp.29 :FONT_MEDIUM;
|
||||
symbol [ kjr %tmp.32 35 79 82 ];
|
||||
%tmp.32 = getv ? :kjr;
|
||||
symbol [ Graphics %tmp.33 35 84 92 ];
|
||||
%tmp.33 = getm $.Toybox.Graphics;
|
||||
symbol [ TEXT_JUSTIFY_CENTER %tmp.34 35 93 112 ];
|
||||
%tmp.34 = getv %tmp.33 :TEXT_JUSTIFY_CENTER;
|
||||
invoke %tmp.17 %tmp.18(%tmp.23, %tmp.28, %tmp.30, %tmp.32, %tmp.34);
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 42; @symbol_functiondef = [onHide,42,13,19]; ]
|
||||
function onHide() as Void {
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -0,0 +1,211 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.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/matchCard.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ]
|
||||
import Toybox.Time;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ]
|
||||
import Toybox.Timer;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ]
|
||||
import Toybox.System;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 7; @symbol_classdef = [Card,7,13,17]; ]
|
||||
class Card {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 7; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 7; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 8; @position = 15; @symbol_vardef = [team,8,15,19]; @symbol_type<0> = [enTeam,8,29,35]; ]
|
||||
public
|
||||
var team as enTeam;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 9; @position = 15; @symbol_vardef = [card,9,15,19]; @symbol_type<0> = [enCard,9,29,35]; ]
|
||||
public
|
||||
var card as enCard;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 10; @position = 15; @symbol_vardef = [player,10,15,21]; @symbol_type<0> = [Number,10,29,35]; ]
|
||||
public
|
||||
var player as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 11; @position = 15; @symbol_vardef = [remaining,11,15,24]; @symbol_type<0> = [Number,11,29,35]; ]
|
||||
public
|
||||
var remaining as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 12; @position = 15; @symbol_vardef = [isActive,12,15,23]; @symbol_type<0> = [Boolean,12,29,36]; ]
|
||||
public
|
||||
var isActive as Boolean;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 14; @position = 16; @symbol_vardef = [start,14,16,21]; @symbol_type<0> = [Number,14,29,35]; ]
|
||||
private
|
||||
var start as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 15; @position = 16; @symbol_vardef = [end,15,16,19]; @symbol_type<0> = [Number,15,29,35]; ]
|
||||
private
|
||||
var end as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 16; @position = 16; @symbol_vardef = [duration,16,16,24]; @symbol_type<0> = [Number,16,29,35]; ]
|
||||
private
|
||||
var duration as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 17; @position = 16; @symbol_vardef = [_datetime,17,16,25]; @symbol_type<0> = [Number,17,29,35]; ]
|
||||
private
|
||||
var _datetime as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 21; @symbol_functiondef = [initialize,21,13,23]; @symbol_param<0> = [tm,21,24,26]; @symbol_param<0>_type<0> = [enTeam,21,30,36]; @symbol_param<1> = [cd,21,38,40]; @symbol_param<1>_type<0> = [enCard,21,44,50]; @symbol_param<2> = [pl,21,52,54]; @symbol_param<2>_type<0> = [Number,21,58,64]; @symbol_param<3> = [dn,21,66,68]; @symbol_param<3>_type<0> = [Number,21,72,78]; @symbol_param<4> = [st,21,80,82]; @symbol_param<4>_type<0> = [Number,21,86,92]; ]
|
||||
function initialize(tm as enTeam, cd as enCard, pl as Number, dn as Number, st as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_21_93_34_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 22 8 ]
|
||||
%tmp.1 = lgetv %tm;
|
||||
symbol [ tm %tmp.1 22 19 21 ];
|
||||
symbol [ team ? 22 8 12 ];
|
||||
putv self :team %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 23 8 ]
|
||||
%tmp.2 = lgetv %cd;
|
||||
symbol [ cd %tmp.2 23 19 21 ];
|
||||
symbol [ card ? 23 8 12 ];
|
||||
putv self :card %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 24 8 ]
|
||||
%tmp.3 = lgetv %st;
|
||||
symbol [ st %tmp.3 24 19 21 ];
|
||||
symbol [ start ? 24 8 13 ];
|
||||
putv self :start %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 25 8 ]
|
||||
%tmp.4 = lgetv %dn;
|
||||
symbol [ dn %tmp.4 25 19 21 ];
|
||||
%tmp.5 = 60;
|
||||
%tmp.6 = mul %tmp.4 %tmp.5;
|
||||
symbol [ duration ? 25 8 16 ];
|
||||
putv self :duration %tmp.6;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 26 8 ]
|
||||
symbol [ duration %tmp.8 26 20 28 ];
|
||||
%tmp.8 = getv ? :duration;
|
||||
symbol [ remaining ? 26 8 17 ];
|
||||
putv self :remaining %tmp.8;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 27 8 ]
|
||||
symbol [ start %tmp.10 27 19 24 ];
|
||||
%tmp.10 = getv ? :start;
|
||||
symbol [ duration %tmp.12 27 27 35 ];
|
||||
%tmp.12 = getv ? :duration;
|
||||
%tmp.13 = add %tmp.10 %tmp.12;
|
||||
symbol [ end ? 27 8 11 ];
|
||||
putv self :end %tmp.13;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 28 8 ]
|
||||
%tmp.14 = lgetv %pl;
|
||||
symbol [ pl %tmp.14 28 19 21 ];
|
||||
symbol [ player ? 28 8 14 ];
|
||||
putv self :player %tmp.14;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 29 8 ]
|
||||
%tmp.15 = true;
|
||||
symbol [ isActive ? 29 8 16 ];
|
||||
putv self :isActive %tmp.15;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 30 8 ]
|
||||
symbol [ Time %tmp.16 30 20 24 ];
|
||||
%tmp.16 = getm $.Toybox.Time;
|
||||
symbol [ now %tmp.17 30 25 28 ];
|
||||
%tmp.17 = getv function %tmp.16 :now;
|
||||
%tmp.18 = invoke %tmp.16 %tmp.17();
|
||||
symbol [ value %tmp.19 30 31 36 ];
|
||||
%tmp.19 = getv function %tmp.18 :value;
|
||||
%tmp.20 = invoke %tmp.18 %tmp.19();
|
||||
symbol [ _datetime ? 30 8 17 ];
|
||||
putv self :_datetime %tmp.20;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_21_93_34_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 40; @symbol_functiondef = [dummy,40,20,25]; @symbol_param<0> = [q,40,26,27]; @symbol_param<0>_type<0> = [Boolean,40,31,38]; ]
|
||||
public
|
||||
function dummy(q as Boolean) as Void {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 42; @symbol_functiondef = [update,42,20,26]; @symbol_param<0> = [el,42,27,29]; @symbol_param<0>_type<0> = [Number,42,33,39]; ]
|
||||
public
|
||||
function update(el as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_42_48_50_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 43 8 ]
|
||||
symbol [ end %tmp.2 43 20 23 ];
|
||||
%tmp.2 = getv ? :end;
|
||||
%tmp.3 = lgetv %el;
|
||||
symbol [ el %tmp.3 43 26 28 ];
|
||||
%tmp.4 = sub %tmp.2 %tmp.3;
|
||||
symbol [ remaining ? 43 8 17 ];
|
||||
putv self :remaining %tmp.4;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 45 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_8_49_8_if_stmt:
|
||||
symbol [ end %tmp.6 45 11 14 ];
|
||||
%tmp.6 = getv ? :end;
|
||||
%tmp.7 = lgetv %el;
|
||||
symbol [ el %tmp.7 45 17 19 ];
|
||||
%tmp.8 = sub %tmp.6 %tmp.7;
|
||||
%tmp.9 = 0;
|
||||
%tmp.10 = eq %tmp.8 %tmp.9;
|
||||
bf %tmp.10 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_8_49_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_8_49_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_25_49_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 47 16 ]
|
||||
symbol [ System %tmp.11 47 16 22 ];
|
||||
%tmp.11 = getm $.Toybox.System;
|
||||
symbol [ println %tmp.12 47 23 30 ];
|
||||
%tmp.12 = getv function %tmp.11 :println;
|
||||
symbol [ Lang %tmp.13 47 31 35 ];
|
||||
%tmp.13 = getm $.Toybox.Lang;
|
||||
symbol [ format %tmp.14 47 36 42 ];
|
||||
%tmp.14 = getv function %tmp.13 :format;
|
||||
%tmp.15 = "Card: $1$ Over";
|
||||
%tmp.16 = newa 1;
|
||||
symbol [ player %tmp.18 47 61 67 ];
|
||||
%tmp.18 = getv ? :player;
|
||||
symbol [ format %tmp.19 47 68 74 ];
|
||||
%tmp.19 = getv function %tmp.18 :format;
|
||||
%tmp.20 = "%02d";
|
||||
%tmp.21 = invoke %tmp.18 %tmp.19(%tmp.20);
|
||||
%tmp.22 = dup %tmp.16;
|
||||
%tmp.23 = aputv %tmp.22 0 %tmp.21;
|
||||
%tmp.24 = invoke %tmp.13 %tmp.14(%tmp.15, %tmp.23);
|
||||
invoke %tmp.11 %tmp.12(%tmp.24);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 48 16 ]
|
||||
%tmp.25 = false;
|
||||
symbol [ isActive ? 48 16 24 ];
|
||||
putv self :isActive %tmp.25;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_25_49_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_8_49_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_45_8_49_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_42_48_50_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 52; @symbol_functiondef = [toDict,52,13,19]; @symbol_return<0> = [Dictionary,52,25,35]; ]
|
||||
function toDict() as Dictionary {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_52_36_62_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc" 53 8 ]
|
||||
%tmp.1 = newd 7;
|
||||
%tmp.2 = "team";
|
||||
symbol [ team %tmp.4 54 26 30 ];
|
||||
%tmp.4 = getv ? :team;
|
||||
%tmp.5 = dup %tmp.1;
|
||||
%tmp.6 = aputv %tmp.5 %tmp.2 %tmp.4;
|
||||
%tmp.7 = "start";
|
||||
symbol [ start %tmp.9 55 26 31 ];
|
||||
%tmp.9 = getv ? :start;
|
||||
%tmp.10 = dup %tmp.6;
|
||||
%tmp.11 = aputv %tmp.10 %tmp.7 %tmp.9;
|
||||
%tmp.12 = "end";
|
||||
symbol [ end %tmp.14 56 26 29 ];
|
||||
%tmp.14 = getv ? :end;
|
||||
%tmp.15 = dup %tmp.11;
|
||||
%tmp.16 = aputv %tmp.15 %tmp.12 %tmp.14;
|
||||
%tmp.17 = "card";
|
||||
symbol [ card %tmp.19 57 26 30 ];
|
||||
%tmp.19 = getv ? :card;
|
||||
%tmp.20 = dup %tmp.16;
|
||||
%tmp.21 = aputv %tmp.20 %tmp.17 %tmp.19;
|
||||
%tmp.22 = "player";
|
||||
symbol [ player %tmp.24 58 26 32 ];
|
||||
%tmp.24 = getv ? :player;
|
||||
%tmp.25 = dup %tmp.21;
|
||||
%tmp.26 = aputv %tmp.25 %tmp.22 %tmp.24;
|
||||
%tmp.27 = "duration";
|
||||
symbol [ duration %tmp.29 59 26 34 ];
|
||||
%tmp.29 = getv ? :duration;
|
||||
%tmp.30 = dup %tmp.26;
|
||||
%tmp.31 = aputv %tmp.30 %tmp.27 %tmp.29;
|
||||
%tmp.32 = "datetime";
|
||||
symbol [ _datetime %tmp.34 60 26 35 ];
|
||||
%tmp.34 = getv ? :_datetime;
|
||||
%tmp.35 = dup %tmp.31;
|
||||
%tmp.36 = aputv %tmp.35 %tmp.32 %tmp.34;
|
||||
ret %tmp.36;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchCard_mc_52_36_62_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchCard.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -0,0 +1,402 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.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/matchData.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ]
|
||||
import Toybox.Time;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ]
|
||||
import Toybox.Timer;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ]
|
||||
import Toybox.System;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 7; @symbol_classdef = [Match,7,6,11]; ]
|
||||
class Match {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 7; ]
|
||||
<init> {
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 12 15 ]
|
||||
%tmp.1 = newa 0;
|
||||
putv self :periods %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 14 15 ]
|
||||
%tmp.2 = newa 0;
|
||||
putv self :goals %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 15 15 ]
|
||||
%tmp.3 = newa 0;
|
||||
putv self :cards %tmp.3;
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 7; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 8; @position = 16; @symbol_vardef = [_datetime,8,16,25]; @symbol_type<0> = [Number,8,34,40]; ]
|
||||
private
|
||||
var _datetime as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 9; @position = 16; @symbol_vardef = [_startTime,9,16,26]; @symbol_type<0> = [Number,9,34,40]; ]
|
||||
private
|
||||
var _startTime as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 10; @position = 16; @symbol_vardef = [_period,10,16,23]; @symbol_type<0> = [Number,10,27,33]; ]
|
||||
private
|
||||
var _period as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 12; @position = 15; @symbol_vardef = [periods,12,15,22]; @symbol_type<0> = [Array,12,34,39]; @symbol_type<1> = [Period,12,40,46]; ]
|
||||
public
|
||||
var periods as Array<Period>;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 13; @position = 15; @symbol_vardef = [period,13,15,21]; @symbol_type<0> = [Period,13,34,40]; ]
|
||||
public
|
||||
var period as Period or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 14; @position = 15; @symbol_vardef = [goals,14,15,20]; @symbol_type<0> = [Array,14,34,39]; @symbol_type<1> = [Goal,14,40,44]; ]
|
||||
public
|
||||
var goals as Array<Goal>;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 15; @position = 15; @symbol_vardef = [cards,15,15,20]; @symbol_type<0> = [Array,15,34,39]; @symbol_type<1> = [Card,15,40,44]; ]
|
||||
public
|
||||
var cards as Array<Card>;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 17; @position = 15; @symbol_vardef = [playCount,17,15,24]; @symbol_type<0> = [Number,17,34,40]; ]
|
||||
public
|
||||
var playCount as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 18; @position = 15; @symbol_vardef = [breakCount,18,15,25]; @symbol_type<0> = [Number,18,34,40]; ]
|
||||
public
|
||||
var breakCount as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 19; @position = 15; @symbol_vardef = [periodCount,19,15,26]; @symbol_type<0> = [Number,19,34,40]; ]
|
||||
public
|
||||
var periodCount as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 20; @position = 15; @symbol_vardef = [homeScore,20,15,24]; @symbol_type<0> = [Number,20,34,40]; ]
|
||||
public
|
||||
var homeScore as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 21; @position = 15; @symbol_vardef = [awayScore,21,15,24]; @symbol_type<0> = [Number,21,34,40]; ]
|
||||
public
|
||||
var awayScore as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 22; @position = 15; @symbol_vardef = [completed,22,15,24]; @symbol_type<0> = [Number,22,28,34]; ]
|
||||
public
|
||||
var completed as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 23; @position = 15; @symbol_vardef = [duration,23,15,23]; @symbol_type<0> = [Number,23,30,36]; ]
|
||||
public
|
||||
var duration as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 24; @position = 15; @symbol_vardef = [remaining,24,15,24]; @symbol_type<0> = [Number,24,30,36]; ]
|
||||
public
|
||||
var remaining as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 25; @position = 15; @symbol_vardef = [elapsed,25,15,22]; @symbol_type<0> = [Number,25,30,36]; ]
|
||||
public
|
||||
var elapsed as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 27; @position = 15; @symbol_vardef = [timerMM,27,15,22]; @symbol_type<0> = [Number,27,28,34]; ]
|
||||
public
|
||||
var timerMM as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 28; @position = 15; @symbol_vardef = [timerSS,28,15,22]; @symbol_type<0> = [Number,28,30,36]; ]
|
||||
public
|
||||
var timerSS as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 29; @position = 15; @symbol_vardef = [display,29,15,22]; @symbol_type<0> = [String,29,30,36]; ]
|
||||
public
|
||||
var display as String or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 30; @position = 15; @symbol_vardef = [state,30,15,20]; @symbol_type<0> = [$,30,24,25]; @symbol_type<1> = [enGame,30,26,32]; ]
|
||||
public
|
||||
var state as $.enGame;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 32; @symbol_functiondef = [initialize,32,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_32_26_56_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 33 8 ]
|
||||
symbol [ Time %tmp.1 33 26 30 ];
|
||||
%tmp.1 = getm $.Toybox.Time;
|
||||
symbol [ now %tmp.2 33 31 34 ];
|
||||
%tmp.2 = getv function %tmp.1 :now;
|
||||
%tmp.3 = invoke %tmp.1 %tmp.2();
|
||||
symbol [ value %tmp.4 33 37 42 ];
|
||||
%tmp.4 = getv function %tmp.3 :value;
|
||||
%tmp.5 = invoke %tmp.3 %tmp.4();
|
||||
symbol [ _datetime ? 33 8 17 ];
|
||||
putv self :_datetime %tmp.5;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 34 8 ]
|
||||
symbol [ PREGAME %tmp.7 34 16 23 ];
|
||||
%tmp.7 = getv ? :PREGAME;
|
||||
symbol [ state ? 34 8 13 ];
|
||||
putv self :state %tmp.7;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 36 8 ]
|
||||
symbol [ periods %tmp.9 36 8 15 ];
|
||||
%tmp.9 = getv ? :periods;
|
||||
symbol [ add %tmp.10 36 16 19 ];
|
||||
%tmp.10 = getv function %tmp.9 :add;
|
||||
symbol [ Period %tmp.14 36 24 30 ];
|
||||
%tmp.14 = getv ? :Period;
|
||||
%tmp.15 = "1st Quarter";
|
||||
symbol [ PLAY %tmp.17 36 46 50 ];
|
||||
%tmp.17 = getv ? :PLAY;
|
||||
%tmp.18 = 100;
|
||||
%tmp.11 = newc %tmp.14 (%tmp.15, %tmp.17, %tmp.18);
|
||||
invoke %tmp.9 %tmp.10(%tmp.11);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 37 8 ]
|
||||
symbol [ periods %tmp.20 37 8 15 ];
|
||||
%tmp.20 = getv ? :periods;
|
||||
symbol [ add %tmp.21 37 16 19 ];
|
||||
%tmp.21 = getv function %tmp.20 :add;
|
||||
symbol [ Period %tmp.25 37 24 30 ];
|
||||
%tmp.25 = getv ? :Period;
|
||||
%tmp.26 = "1/4 Break";
|
||||
symbol [ BREAK %tmp.28 37 46 51 ];
|
||||
%tmp.28 = getv ? :BREAK;
|
||||
%tmp.29 = 2;
|
||||
%tmp.22 = newc %tmp.25 (%tmp.26, %tmp.28, %tmp.29);
|
||||
invoke %tmp.20 %tmp.21(%tmp.22);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 38 8 ]
|
||||
symbol [ periods %tmp.31 38 8 15 ];
|
||||
%tmp.31 = getv ? :periods;
|
||||
symbol [ add %tmp.32 38 16 19 ];
|
||||
%tmp.32 = getv function %tmp.31 :add;
|
||||
symbol [ Period %tmp.36 38 24 30 ];
|
||||
%tmp.36 = getv ? :Period;
|
||||
%tmp.37 = "2nd Quarter";
|
||||
symbol [ PLAY %tmp.39 38 46 50 ];
|
||||
%tmp.39 = getv ? :PLAY;
|
||||
%tmp.40 = 100;
|
||||
%tmp.33 = newc %tmp.36 (%tmp.37, %tmp.39, %tmp.40);
|
||||
invoke %tmp.31 %tmp.32(%tmp.33);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 39 8 ]
|
||||
symbol [ periods %tmp.42 39 8 15 ];
|
||||
%tmp.42 = getv ? :periods;
|
||||
symbol [ add %tmp.43 39 16 19 ];
|
||||
%tmp.43 = getv function %tmp.42 :add;
|
||||
symbol [ Period %tmp.47 39 24 30 ];
|
||||
%tmp.47 = getv ? :Period;
|
||||
%tmp.48 = "1/2 Break";
|
||||
symbol [ BREAK %tmp.50 39 46 51 ];
|
||||
%tmp.50 = getv ? :BREAK;
|
||||
%tmp.51 = 2;
|
||||
%tmp.44 = newc %tmp.47 (%tmp.48, %tmp.50, %tmp.51);
|
||||
invoke %tmp.42 %tmp.43(%tmp.44);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 40 8 ]
|
||||
symbol [ periods %tmp.53 40 8 15 ];
|
||||
%tmp.53 = getv ? :periods;
|
||||
symbol [ add %tmp.54 40 16 19 ];
|
||||
%tmp.54 = getv function %tmp.53 :add;
|
||||
symbol [ Period %tmp.58 40 24 30 ];
|
||||
%tmp.58 = getv ? :Period;
|
||||
%tmp.59 = "3rd Quarter";
|
||||
symbol [ PLAY %tmp.61 40 46 50 ];
|
||||
%tmp.61 = getv ? :PLAY;
|
||||
%tmp.62 = 100;
|
||||
%tmp.55 = newc %tmp.58 (%tmp.59, %tmp.61, %tmp.62);
|
||||
invoke %tmp.53 %tmp.54(%tmp.55);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 41 8 ]
|
||||
symbol [ periods %tmp.64 41 8 15 ];
|
||||
%tmp.64 = getv ? :periods;
|
||||
symbol [ add %tmp.65 41 16 19 ];
|
||||
%tmp.65 = getv function %tmp.64 :add;
|
||||
symbol [ Period %tmp.69 41 24 30 ];
|
||||
%tmp.69 = getv ? :Period;
|
||||
%tmp.70 = "3/4 Break";
|
||||
symbol [ BREAK %tmp.72 41 46 51 ];
|
||||
%tmp.72 = getv ? :BREAK;
|
||||
%tmp.73 = 2;
|
||||
%tmp.66 = newc %tmp.69 (%tmp.70, %tmp.72, %tmp.73);
|
||||
invoke %tmp.64 %tmp.65(%tmp.66);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 42 8 ]
|
||||
symbol [ periods %tmp.75 42 8 15 ];
|
||||
%tmp.75 = getv ? :periods;
|
||||
symbol [ add %tmp.76 42 16 19 ];
|
||||
%tmp.76 = getv function %tmp.75 :add;
|
||||
symbol [ Period %tmp.80 42 24 30 ];
|
||||
%tmp.80 = getv ? :Period;
|
||||
%tmp.81 = "4th Quarter";
|
||||
symbol [ PLAY %tmp.83 42 46 50 ];
|
||||
%tmp.83 = getv ? :PLAY;
|
||||
%tmp.84 = 100;
|
||||
%tmp.77 = newc %tmp.80 (%tmp.81, %tmp.83, %tmp.84);
|
||||
invoke %tmp.75 %tmp.76(%tmp.77);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 43 8 ]
|
||||
symbol [ periods %tmp.86 43 17 24 ];
|
||||
%tmp.86 = getv ? :periods;
|
||||
symbol [ _period %tmp.88 43 25 32 ];
|
||||
%tmp.88 = getv ? :_period;
|
||||
%tmp.89 = agetv %tmp.86 %tmp.88;
|
||||
symbol [ period ? 43 8 14 ];
|
||||
putv self :period %tmp.89;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 45 8 ]
|
||||
for @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_test @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_incr @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_init:
|
||||
[ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_begin" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_end" ]
|
||||
%i.1 = local;
|
||||
symbol [ i %i.1 45 16 17 ];
|
||||
%tmp.90 = 0;
|
||||
lputv %i.1 %tmp.90;
|
||||
symbol [ i %i.1 45 16 17 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_test:
|
||||
%tmp.91 = lgetv %i.1;
|
||||
symbol [ i %tmp.91 45 23 24 ];
|
||||
symbol [ periods %tmp.93 45 26 33 ];
|
||||
%tmp.93 = getv ? :periods;
|
||||
symbol [ size %tmp.94 45 34 38 ];
|
||||
%tmp.94 = getv function %tmp.93 :size;
|
||||
%tmp.95 = invoke %tmp.93 %tmp.94();
|
||||
%tmp.96 = lt %tmp.91 %tmp.95;
|
||||
bf %tmp.96 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_begin:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_46_55_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 46 12 ]
|
||||
symbol [ periodCount %tmp.99 46 12 23 ];
|
||||
%tmp.99 = getv ? :periodCount;
|
||||
%tmp.100 = add %tmp.99 1;
|
||||
symbol [ periodCount ? 46 12 23 ];
|
||||
putv self :periodCount dup %tmp.100;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 47 12 ]
|
||||
symbol [ periods %tmp.102 47 20 27 ];
|
||||
%tmp.102 = getv ? :periods;
|
||||
%tmp.103 = lgetv %i.1;
|
||||
symbol [ i %tmp.103 47 28 29 ];
|
||||
%tmp.104 = agetv %tmp.102 %tmp.103;
|
||||
symbol [ type %tmp.105 47 31 35 ];
|
||||
%tmp.105 = getv %tmp.104 :type;
|
||||
push %tmp.105;
|
||||
switch %tmp.105 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_switchStmtEnd;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_switchStmtBegin:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 48 16 ]
|
||||
%tmp.106 = dup %tmp.105;
|
||||
symbol [ PLAY %tmp.108 48 21 25 ];
|
||||
%tmp.108 = getv ? :PLAY;
|
||||
%tmp.109 = getv function %tmp.106 :equals;
|
||||
%tmp.110 = invoke %tmp.106 %tmp.109 (%tmp.108);
|
||||
bt %tmp.110 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_48_16_51_25_switchCase;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 52 16 ]
|
||||
%tmp.111 = dup %tmp.105;
|
||||
symbol [ BREAK %tmp.113 52 21 26 ];
|
||||
%tmp.113 = getv ? :BREAK;
|
||||
%tmp.114 = getv function %tmp.111 :equals;
|
||||
%tmp.115 = invoke %tmp.111 %tmp.114 (%tmp.113);
|
||||
bt %tmp.115 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_52_16_53_32_switchCase;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_switchStmtDefault:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_defaultCodeBegin;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_48_16_51_25_switchCase:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 49 20 ]
|
||||
symbol [ duration %tmp.116 49 20 28 ];
|
||||
%tmp.116 = getv self :duration;
|
||||
symbol [ periods %tmp.118 49 32 39 ];
|
||||
%tmp.118 = getv ? :periods;
|
||||
%tmp.119 = lgetv %i.1;
|
||||
symbol [ i %tmp.119 49 40 41 ];
|
||||
%tmp.120 = agetv %tmp.118 %tmp.119;
|
||||
symbol [ duration %tmp.121 49 43 51 ];
|
||||
%tmp.121 = getv %tmp.120 :duration;
|
||||
%tmp.122 = add %tmp.116 %tmp.121;
|
||||
symbol [ duration ? 49 20 28 ];
|
||||
putv self :duration dup %tmp.122;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 50 20 ]
|
||||
symbol [ playCount %tmp.125 50 20 29 ];
|
||||
%tmp.125 = getv ? :playCount;
|
||||
%tmp.126 = add %tmp.125 1;
|
||||
symbol [ playCount ? 50 20 29 ];
|
||||
putv self :playCount dup %tmp.126;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 51 20 ]
|
||||
goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_switchStmtEnd;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_52_16_53_32_switchCase:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 53 20 ]
|
||||
symbol [ breakCount %tmp.129 53 20 30 ];
|
||||
%tmp.129 = getv ? :breakCount;
|
||||
%tmp.130 = add %tmp.129 1;
|
||||
symbol [ breakCount ? 53 20 30 ];
|
||||
putv self :breakCount dup %tmp.130;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_defaultCodeBegin:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_47_12_54_12_switchStmtEnd:
|
||||
pop;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_46_55_8_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_incr:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 45 ]
|
||||
%tmp.133 = lgetv %i.1;
|
||||
symbol [ i %tmp.133 45 42 43 ];
|
||||
%tmp.134 = add %tmp.133 1;
|
||||
lputv %i.1 %tmp.134;
|
||||
symbol [ i %i.1 45 42 43 ];
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_test;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_45_8_55_8_for_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_32_26_56_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 58; @symbol_functiondef = [nextPeriod,58,13,23]; ]
|
||||
function nextPeriod() {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_58_25_70_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 59 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_8_61_8_if_stmt:
|
||||
symbol [ period %tmp.2 59 12 18 ];
|
||||
%tmp.2 = getv ? :period;
|
||||
symbol [ type %tmp.3 59 19 23 ];
|
||||
%tmp.3 = getv %tmp.2 :type;
|
||||
symbol [ PLAY %tmp.5 59 27 31 ];
|
||||
%tmp.5 = getv ? :PLAY;
|
||||
%tmp.6 = eq %tmp.3 %tmp.5;
|
||||
bf %tmp.6 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_8_61_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_8_61_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_32_61_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 60 12 ]
|
||||
symbol [ completed %tmp.7 60 12 21 ];
|
||||
%tmp.7 = getv self :completed;
|
||||
symbol [ period %tmp.9 60 25 31 ];
|
||||
%tmp.9 = getv ? :period;
|
||||
symbol [ elapsed %tmp.10 60 32 39 ];
|
||||
%tmp.10 = getv %tmp.9 :elapsed;
|
||||
%tmp.11 = add %tmp.7 %tmp.10;
|
||||
symbol [ completed ? 60 12 21 ];
|
||||
putv self :completed dup %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_32_61_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_8_61_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_59_8_61_8_if_end:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 62 8 ]
|
||||
symbol [ _period %tmp.14 62 8 15 ];
|
||||
%tmp.14 = getv ? :_period;
|
||||
%tmp.15 = add %tmp.14 1;
|
||||
symbol [ _period ? 62 8 15 ];
|
||||
putv self :_period dup %tmp.15;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 64 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_stmt:
|
||||
symbol [ _period %tmp.17 64 12 19 ];
|
||||
%tmp.17 = getv ? :_period;
|
||||
symbol [ periods %tmp.19 64 22 29 ];
|
||||
%tmp.19 = getv ? :periods;
|
||||
symbol [ size %tmp.20 64 30 34 ];
|
||||
%tmp.20 = getv function %tmp.19 :size;
|
||||
%tmp.21 = invoke %tmp.19 %tmp.20();
|
||||
%tmp.22 = lt %tmp.17 %tmp.21;
|
||||
bf %tmp.22 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_else_false;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_37_66_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 65 12 ]
|
||||
symbol [ periods %tmp.24 65 21 28 ];
|
||||
%tmp.24 = getv ? :periods;
|
||||
symbol [ _period %tmp.26 65 29 36 ];
|
||||
%tmp.26 = getv ? :_period;
|
||||
%tmp.27 = agetv %tmp.24 %tmp.26;
|
||||
symbol [ period ? 65 12 18 ];
|
||||
putv self :period %tmp.27;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_37_66_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_else_false:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_67_12_69_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 68 12 ]
|
||||
symbol [ POSTGAME %tmp.29 68 20 28 ];
|
||||
%tmp.29 = getv ? :POSTGAME;
|
||||
symbol [ state ? 68 12 17 ];
|
||||
putv self :state %tmp.29;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_67_12_69_8_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_64_8_69_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_58_25_70_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 71; @symbol_functiondef = [recordCard,71,17,27]; @symbol_param<0> = [team,71,28,32]; @symbol_param<0>_type<0> = [enTeam,71,40,46]; @symbol_param<1> = [type,72,28,32]; @symbol_param<1>_type<0> = [enCard,72,40,46]; @symbol_param<2> = [player,73,28,34]; @symbol_param<2>_type<0> = [Number,73,40,46]; @symbol_param<3> = [duration,74,28,36]; @symbol_param<3>_type<0> = [Number,74,40,46]; ]
|
||||
function recordCard(team as enTeam, type as enCard, player as Number, duration as Number) {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_75_8_78_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc" 76 8 ]
|
||||
symbol [ cards %tmp.2 76 8 13 ];
|
||||
%tmp.2 = getv ? :cards;
|
||||
symbol [ add %tmp.3 76 14 17 ];
|
||||
%tmp.3 = getv function %tmp.2 :add;
|
||||
symbol [ Card %tmp.7 76 22 26 ];
|
||||
%tmp.7 = getv ? :Card;
|
||||
%tmp.8 = lgetv %team;
|
||||
symbol [ team %tmp.8 76 27 31 ];
|
||||
%tmp.9 = lgetv %type;
|
||||
symbol [ type %tmp.9 76 33 37 ];
|
||||
%tmp.10 = lgetv %player;
|
||||
symbol [ player %tmp.10 76 39 45 ];
|
||||
%tmp.11 = lgetv %duration;
|
||||
symbol [ duration %tmp.11 76 48 56 ];
|
||||
%tmp.12 = self;
|
||||
symbol [ me %tmp.12 76 58 60 ];
|
||||
symbol [ elapsed %tmp.13 76 61 68 ];
|
||||
%tmp.13 = getv %tmp.12 :elapsed;
|
||||
%tmp.4 = newc %tmp.7 (%tmp.8, %tmp.9, %tmp.10, %tmp.11, %tmp.13);
|
||||
invoke %tmp.2 %tmp.3(%tmp.4);
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchData_mc_75_8_78_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchData.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.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/matchGoal.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ]
|
||||
import Toybox.Time;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ]
|
||||
import Toybox.Timer;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ]
|
||||
import Toybox.System;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 7; @symbol_classdef = [Goal,7,6,10]; ]
|
||||
class Goal {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 7; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 7; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 8; @position = 16; @symbol_vardef = [_team,8,16,21]; @symbol_type<0> = [enTeam,8,29,35]; ]
|
||||
private
|
||||
var _team as enTeam;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 9; @position = 16; @symbol_vardef = [_type,9,16,21]; @symbol_type<0> = [enGoal,9,29,35]; ]
|
||||
private
|
||||
var _type as enGoal;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 10; @position = 16; @symbol_vardef = [_time,10,16,21]; @symbol_type<0> = [Number,10,29,35]; ]
|
||||
private
|
||||
var _time as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 11; @position = 16; @symbol_vardef = [_player,11,16,23]; @symbol_type<0> = [Number,11,29,35]; ]
|
||||
private
|
||||
var _player as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 12; @position = 16; @symbol_vardef = [_datetime,12,16,25]; @symbol_type<0> = [Number,12,29,35]; ]
|
||||
private
|
||||
var _datetime as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 14; @symbol_functiondef = [initialize,14,13,23]; @symbol_param<0> = [team,14,24,28]; @symbol_param<0>_type<0> = [enTeam,14,32,38]; @symbol_param<1> = [type,14,40,44]; @symbol_param<1>_type<0> = [enGoal,14,48,54]; @symbol_param<2> = [player,14,56,62]; @symbol_param<2>_type<0> = [Number,14,66,72]; @symbol_param<3> = [time,14,74,78]; @symbol_param<3>_type<0> = [Number,14,82,88]; ]
|
||||
function initialize(team as enTeam, type as enGoal, player as Number, time as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchGoal_mc_14_90_20_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc" 15 8 ]
|
||||
%tmp.1 = lgetv %team;
|
||||
symbol [ team %tmp.1 15 20 24 ];
|
||||
symbol [ _team ? 15 8 13 ];
|
||||
putv self :_team %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc" 16 8 ]
|
||||
%tmp.2 = lgetv %type;
|
||||
symbol [ type %tmp.2 16 20 24 ];
|
||||
symbol [ _type ? 16 8 13 ];
|
||||
putv self :_type %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc" 17 8 ]
|
||||
%tmp.3 = lgetv %time;
|
||||
symbol [ time %tmp.3 17 20 24 ];
|
||||
symbol [ _time ? 17 8 13 ];
|
||||
putv self :_time %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc" 18 8 ]
|
||||
%tmp.4 = lgetv %player;
|
||||
symbol [ player %tmp.4 18 20 26 ];
|
||||
symbol [ _player ? 18 8 15 ];
|
||||
putv self :_player %tmp.4;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc" 19 8 ]
|
||||
symbol [ Time %tmp.5 19 20 24 ];
|
||||
%tmp.5 = getm $.Toybox.Time;
|
||||
symbol [ now %tmp.6 19 25 28 ];
|
||||
%tmp.6 = getv function %tmp.5 :now;
|
||||
%tmp.7 = invoke %tmp.5 %tmp.6();
|
||||
symbol [ value %tmp.8 19 31 36 ];
|
||||
%tmp.8 = getv function %tmp.7 :value;
|
||||
%tmp.9 = invoke %tmp.7 %tmp.8();
|
||||
symbol [ _datetime ? 19 8 17 ];
|
||||
putv self :_datetime %tmp.9;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchGoal_mc_14_90_20_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 22; @symbol_functiondef = [toDict,22,13,19]; @symbol_return<0> = [Dictionary,22,25,35]; ]
|
||||
function toDict() as Dictionary {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchGoal_mc_22_36_30_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc" 23 8 ]
|
||||
%tmp.1 = newd 5;
|
||||
%tmp.2 = "team";
|
||||
symbol [ _team %tmp.4 24 27 32 ];
|
||||
%tmp.4 = getv ? :_team;
|
||||
%tmp.5 = dup %tmp.1;
|
||||
%tmp.6 = aputv %tmp.5 %tmp.2 %tmp.4;
|
||||
%tmp.7 = "type";
|
||||
symbol [ _type %tmp.9 25 27 32 ];
|
||||
%tmp.9 = getv ? :_type;
|
||||
%tmp.10 = dup %tmp.6;
|
||||
%tmp.11 = aputv %tmp.10 %tmp.7 %tmp.9;
|
||||
%tmp.12 = "time";
|
||||
symbol [ _time %tmp.14 26 27 32 ];
|
||||
%tmp.14 = getv ? :_time;
|
||||
%tmp.15 = dup %tmp.11;
|
||||
%tmp.16 = aputv %tmp.15 %tmp.12 %tmp.14;
|
||||
%tmp.17 = "player";
|
||||
symbol [ _player %tmp.19 27 27 34 ];
|
||||
%tmp.19 = getv ? :_player;
|
||||
%tmp.20 = dup %tmp.16;
|
||||
%tmp.21 = aputv %tmp.20 %tmp.17 %tmp.19;
|
||||
%tmp.22 = "datetime";
|
||||
symbol [ _datetime %tmp.24 28 27 36 ];
|
||||
%tmp.24 = getv ? :_datetime;
|
||||
%tmp.25 = dup %tmp.21;
|
||||
%tmp.26 = aputv %tmp.25 %tmp.22 %tmp.24;
|
||||
ret %tmp.26;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchGoal_mc_22_36_30_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchGoal.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -0,0 +1,236 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.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/matchPeriod.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ]
|
||||
import Toybox.Time;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ]
|
||||
import Toybox.Timer;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ]
|
||||
import Toybox.System;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 7; @symbol_classdef = [Period,7,6,12]; ]
|
||||
class Period {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 7; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 7; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 8; @position = 15; @symbol_vardef = [name,8,15,19]; @symbol_type<0> = [String,8,28,34]; ]
|
||||
public
|
||||
var name as String or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 9; @position = 15; @symbol_vardef = [type,9,15,19]; @symbol_type<0> = [enPeriod,9,28,36]; ]
|
||||
public
|
||||
var type as enPeriod or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 10; @position = 15; @symbol_vardef = [duration,10,15,23]; @symbol_type<0> = [Number,10,28,34]; ]
|
||||
public
|
||||
var duration as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 11; @position = 15; @symbol_vardef = [remaining,11,15,24]; @symbol_type<0> = [Number,11,28,34]; ]
|
||||
public
|
||||
var remaining as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 12; @position = 15; @symbol_vardef = [elapsed,12,15,22]; @symbol_type<0> = [Number,12,28,34]; ]
|
||||
public
|
||||
var elapsed as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 14; @position = 15; @symbol_vardef = [play,14,15,19]; @symbol_type<0> = [Boolean,14,26,33]; ]
|
||||
public
|
||||
var play as Boolean = false;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 15; @position = 16; @symbol_vardef = [_dur,15,16,20]; @symbol_type<0> = [Number,15,28,34]; ]
|
||||
private
|
||||
var _dur as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 16; @position = 16; @symbol_vardef = [_acc,16,16,20]; @symbol_type<0> = [Number,16,28,34]; ]
|
||||
private
|
||||
var _acc as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 17; @position = 16; @symbol_vardef = [_start,17,16,22]; @symbol_type<0> = [Number,17,28,34]; ]
|
||||
private
|
||||
var _start as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 19; @symbol_functiondef = [initialize,19,13,23]; @symbol_param<0> = [Name,19,24,28]; @symbol_param<0>_type<0> = [String,19,32,38]; @symbol_param<1> = [Type,19,40,44]; @symbol_param<1>_type<0> = [enPeriod,19,48,56]; @symbol_param<2> = [Duration,19,58,66]; @symbol_param<2>_type<0> = [Number,19,70,76]; ]
|
||||
function initialize(Name as String, Type as enPeriod, Duration as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_19_77_25_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 20 8 ]
|
||||
%tmp.1 = lgetv %Name;
|
||||
symbol [ Name %tmp.1 20 17 21 ];
|
||||
symbol [ name ? 20 8 12 ];
|
||||
putv self :name %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 21 8 ]
|
||||
%tmp.2 = lgetv %Type;
|
||||
symbol [ Type %tmp.2 21 20 24 ];
|
||||
symbol [ type ? 21 8 12 ];
|
||||
putv self :type %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 22 8 ]
|
||||
%tmp.3 = lgetv %Duration;
|
||||
symbol [ Duration %tmp.3 22 20 28 ];
|
||||
symbol [ duration ? 22 8 16 ];
|
||||
putv self :duration %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 23 8 ]
|
||||
%tmp.4 = lgetv %Duration;
|
||||
symbol [ Duration %tmp.4 23 20 28 ];
|
||||
symbol [ remaining ? 23 8 17 ];
|
||||
putv self :remaining %tmp.4;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 24 8 ]
|
||||
%tmp.5 = 0;
|
||||
symbol [ elapsed ? 24 8 15 ];
|
||||
putv self :elapsed %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_19_77_25_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 27; @symbol_functiondef = [playPause,27,13,22]; ]
|
||||
function playPause() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_27_32_36_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 28 8 ]
|
||||
symbol [ play %tmp.2 28 16 20 ];
|
||||
%tmp.2 = getv ? :play;
|
||||
%tmp.3 = not %tmp.2;
|
||||
symbol [ play ? 28 8 12 ];
|
||||
putv self :play %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 29 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_29_8_35_8_if_stmt:
|
||||
symbol [ play %tmp.5 29 12 16 ];
|
||||
%tmp.5 = getv ? :play;
|
||||
bf %tmp.5 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_29_8_35_8_if_else_false;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_29_8_35_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_29_17_32_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 30 12 ]
|
||||
symbol [ $ %tmp.6 30 12 13 ];
|
||||
%tmp.6 = getm $;
|
||||
symbol [ gMatch %tmp.7 30 14 20 ];
|
||||
%tmp.7 = getv %tmp.6 :gMatch;
|
||||
symbol [ INGAME %tmp.9 30 29 35 ];
|
||||
%tmp.9 = getv ? :INGAME;
|
||||
symbol [ state ? 30 21 26 ];
|
||||
putv %tmp.7 :state %tmp.9;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 31 12 ]
|
||||
symbol [ System %tmp.10 31 21 27 ];
|
||||
%tmp.10 = getm $.Toybox.System;
|
||||
symbol [ getTimer %tmp.11 31 28 36 ];
|
||||
%tmp.11 = getv function %tmp.10 :getTimer;
|
||||
%tmp.12 = invoke %tmp.10 %tmp.11();
|
||||
symbol [ _start ? 31 12 18 ];
|
||||
putv self :_start %tmp.12;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_29_17_32_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_29_8_35_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_29_8_35_8_if_else_false:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_33_12_35_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 34 12 ]
|
||||
symbol [ _acc %tmp.13 34 12 16 ];
|
||||
%tmp.13 = getv self :_acc;
|
||||
symbol [ System %tmp.14 34 20 26 ];
|
||||
%tmp.14 = getm $.Toybox.System;
|
||||
symbol [ getTimer %tmp.15 34 27 35 ];
|
||||
%tmp.15 = getv function %tmp.14 :getTimer;
|
||||
%tmp.16 = invoke %tmp.14 %tmp.15();
|
||||
symbol [ _start %tmp.18 34 40 46 ];
|
||||
%tmp.18 = getv ? :_start;
|
||||
%tmp.19 = sub %tmp.16 %tmp.18;
|
||||
%tmp.20 = add %tmp.13 %tmp.19;
|
||||
symbol [ _acc ? 34 12 16 ];
|
||||
putv self :_acc dup %tmp.20;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_33_12_35_8_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_29_8_35_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_27_32_36_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 38; @symbol_functiondef = [update,38,13,19]; ]
|
||||
function update() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_38_29_53_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 39 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_39_8_52_8_if_stmt:
|
||||
symbol [ play %tmp.2 39 12 16 ];
|
||||
%tmp.2 = getv ? :play;
|
||||
bf %tmp.2 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_39_8_52_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_39_8_52_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_39_17_52_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 40 12 ]
|
||||
symbol [ System %tmp.3 40 21 27 ];
|
||||
%tmp.3 = getm $.Toybox.System;
|
||||
symbol [ getTimer %tmp.4 40 28 36 ];
|
||||
%tmp.4 = getv function %tmp.3 :getTimer;
|
||||
%tmp.5 = invoke %tmp.3 %tmp.4();
|
||||
symbol [ _start %tmp.7 40 41 47 ];
|
||||
%tmp.7 = getv ? :_start;
|
||||
%tmp.8 = sub %tmp.5 %tmp.7;
|
||||
symbol [ _acc %tmp.10 40 50 54 ];
|
||||
%tmp.10 = getv ? :_acc;
|
||||
%tmp.11 = add %tmp.8 %tmp.10;
|
||||
symbol [ _dur ? 40 12 16 ];
|
||||
putv self :_dur %tmp.11;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 41 12 ]
|
||||
symbol [ _dur %tmp.13 41 22 26 ];
|
||||
%tmp.13 = getv ? :_dur;
|
||||
%tmp.14 = 1000;
|
||||
%tmp.15 = div %tmp.13 %tmp.14;
|
||||
symbol [ elapsed ? 41 12 19 ];
|
||||
putv self :elapsed %tmp.15;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 42 12 ]
|
||||
symbol [ duration %tmp.17 42 24 32 ];
|
||||
%tmp.17 = getv ? :duration;
|
||||
symbol [ elapsed %tmp.19 42 35 42 ];
|
||||
%tmp.19 = getv ? :elapsed;
|
||||
%tmp.20 = sub %tmp.17 %tmp.19;
|
||||
symbol [ remaining ? 42 12 21 ];
|
||||
putv self :remaining %tmp.20;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 44 12 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_44_12_46_12_if_stmt:
|
||||
symbol [ type %tmp.22 44 16 20 ];
|
||||
%tmp.22 = getv ? :type;
|
||||
symbol [ PLAY %tmp.24 44 24 28 ];
|
||||
%tmp.24 = getv ? :PLAY;
|
||||
%tmp.25 = eq %tmp.22 %tmp.24;
|
||||
bf %tmp.25 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_44_12_46_12_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_44_12_46_12_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_44_29_46_12_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 45 16 ]
|
||||
symbol [ $ %tmp.26 45 16 17 ];
|
||||
%tmp.26 = getm $;
|
||||
symbol [ gMatch %tmp.27 45 18 24 ];
|
||||
%tmp.27 = getv %tmp.26 :gMatch;
|
||||
symbol [ $ %tmp.28 45 35 36 ];
|
||||
%tmp.28 = getm $;
|
||||
symbol [ gMatch %tmp.29 45 37 43 ];
|
||||
%tmp.29 = getv %tmp.28 :gMatch;
|
||||
symbol [ completed %tmp.30 45 44 53 ];
|
||||
%tmp.30 = getv %tmp.29 :completed;
|
||||
symbol [ elapsed %tmp.32 45 56 63 ];
|
||||
%tmp.32 = getv ? :elapsed;
|
||||
%tmp.33 = add %tmp.30 %tmp.32;
|
||||
symbol [ elapsed ? 45 25 32 ];
|
||||
putv %tmp.27 :elapsed %tmp.33;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_44_29_46_12_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_44_12_46_12_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_44_12_46_12_if_end:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 48 12 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_48_12_51_12_if_stmt:
|
||||
symbol [ remaining %tmp.35 48 16 25 ];
|
||||
%tmp.35 = getv ? :remaining;
|
||||
%tmp.36 = 0;
|
||||
%tmp.37 = lte %tmp.35 %tmp.36;
|
||||
bf %tmp.37 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_48_12_51_12_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_48_12_51_12_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_48_32_51_12_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 49 16 ]
|
||||
%tmp.38 = false;
|
||||
symbol [ play ? 49 16 20 ];
|
||||
putv self :play %tmp.38;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc" 50 16 ]
|
||||
symbol [ $ %tmp.39 50 16 17 ];
|
||||
%tmp.39 = getm $;
|
||||
symbol [ gMatch %tmp.40 50 18 24 ];
|
||||
%tmp.40 = getv %tmp.39 :gMatch;
|
||||
symbol [ method %tmp.41 50 25 31 ];
|
||||
%tmp.41 = getv function %tmp.40 :method;
|
||||
%tmp.43 = const :nextPeriod;
|
||||
symbol [ nextPeriod %tmp.43 50 33 43 const ];
|
||||
%tmp.44 = invoke %tmp.40 %tmp.41(%tmp.43);
|
||||
symbol [ invoke %tmp.45 50 45 51 ];
|
||||
%tmp.45 = getv function %tmp.44 :invoke;
|
||||
invoke %tmp.44 %tmp.45();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_48_32_51_12_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_48_12_51_12_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_48_12_51_12_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_39_17_52_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_39_8_52_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_39_8_52_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_matchPeriod_mc_38_29_53_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/matchPeriod.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -2,505 +2,507 @@
|
||||
import Toybox.Lang;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; @symbol_classdef = [MyInputDelegate,4,6,21]; @symbol_extends<0> = [WatchUi,4,30,37]; @symbol_extends<1> = [InputDelegate,4,38,51]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; @position = 11; @symbol_vardef = [kjr,4,11,14]; @symbol_type<0> = [String,4,18,24]; ]
|
||||
var kjr as String or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 6; @symbol_classdef = [MyInputDelegate,6,6,21]; @symbol_extends<0> = [WatchUi,6,30,37]; @symbol_extends<1> = [InputDelegate,6,38,51]; ]
|
||||
class MyInputDelegate extends WatchUi.InputDelegate {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 6; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 6; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 6; @symbol_functiondef = [initialize,6,13,23]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 8; @symbol_functiondef = [initialize,8,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_6_26_8_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 7 8 ]
|
||||
symbol [ InputDelegate %tmp.2 7 8 21 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_8_26_10_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 9 8 ]
|
||||
symbol [ InputDelegate %tmp.2 9 8 21 ];
|
||||
%tmp.2 = getv ? :InputDelegate;
|
||||
symbol [ initialize %tmp.3 7 22 32 ];
|
||||
symbol [ initialize %tmp.3 9 22 32 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_6_26_8_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_8_26_10_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 10; @symbol_functiondef = [onDrag,10,13,19]; @symbol_param<0> = [dragEvent,10,20,29]; @symbol_param<0>_type<0> = [WatchUi,10,33,40]; @symbol_param<0>_type<1> = [DragEvent,10,41,50]; @symbol_return<0> = [Lang,10,55,59]; @symbol_return<1> = [Boolean,10,60,67]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 12; @symbol_functiondef = [onDrag,12,13,19]; @symbol_param<0> = [dragEvent,12,20,29]; @symbol_param<0>_type<0> = [WatchUi,12,33,40]; @symbol_param<0>_type<1> = [DragEvent,12,41,50]; @symbol_return<0> = [Lang,12,55,59]; @symbol_return<1> = [Boolean,12,60,67]; ]
|
||||
function onDrag(dragEvent as WatchUi.DragEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_10_68_16_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 11 6 ]
|
||||
symbol [ $ %tmp.1 11 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_12_68_18_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 13 6 ]
|
||||
symbol [ $ %tmp.1 13 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "on-Drag";
|
||||
symbol [ kjr ? 11 8 11 ];
|
||||
symbol [ kjr ? 13 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 12 6 ]
|
||||
symbol [ System %tmp.4 12 6 12 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 14 6 ]
|
||||
symbol [ System %tmp.4 14 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 12 13 20 ];
|
||||
symbol [ println %tmp.5 14 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %dragEvent;
|
||||
symbol [ dragEvent %tmp.6 12 21 30 ];
|
||||
symbol [ getType %tmp.7 12 31 38 ];
|
||||
symbol [ dragEvent %tmp.6 14 21 30 ];
|
||||
symbol [ getType %tmp.7 14 31 38 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 13 6 ]
|
||||
symbol [ WatchUi %tmp.9 13 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 15 6 ]
|
||||
symbol [ WatchUi %tmp.9 15 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 13 14 27 ];
|
||||
symbol [ requestUpdate %tmp.10 15 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 14 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 16 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_10_68_16_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_12_68_18_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 17; @symbol_functiondef = [onFlick,17,13,20]; @symbol_param<0> = [flickEvent,17,21,31]; @symbol_param<0>_type<0> = [WatchUi,17,35,42]; @symbol_param<0>_type<1> = [FlickEvent,17,43,53]; @symbol_return<0> = [Lang,17,58,62]; @symbol_return<1> = [Boolean,17,63,70]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 19; @symbol_functiondef = [onFlick,19,13,20]; @symbol_param<0> = [flickEvent,19,21,31]; @symbol_param<0>_type<0> = [WatchUi,19,35,42]; @symbol_param<0>_type<1> = [FlickEvent,19,43,53]; @symbol_return<0> = [Lang,19,58,62]; @symbol_return<1> = [Boolean,19,63,70]; ]
|
||||
function onFlick(flickEvent as WatchUi.FlickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_17_71_22_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 18 6 ]
|
||||
symbol [ $ %tmp.1 18 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_19_71_24_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 20 6 ]
|
||||
symbol [ $ %tmp.1 20 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onFlick";
|
||||
symbol [ kjr ? 18 8 11 ];
|
||||
symbol [ kjr ? 20 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 19 6 ]
|
||||
symbol [ System %tmp.4 19 6 12 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 21 6 ]
|
||||
symbol [ System %tmp.4 21 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 19 13 20 ];
|
||||
symbol [ println %tmp.5 21 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %flickEvent;
|
||||
symbol [ flickEvent %tmp.6 19 21 31 ];
|
||||
symbol [ getDirection %tmp.7 19 32 44 ];
|
||||
symbol [ flickEvent %tmp.6 21 21 31 ];
|
||||
symbol [ getDirection %tmp.7 21 32 44 ];
|
||||
%tmp.7 = getv function %tmp.6 :getDirection;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 20 6 ]
|
||||
symbol [ WatchUi %tmp.9 20 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 22 6 ]
|
||||
symbol [ WatchUi %tmp.9 22 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 20 14 27 ];
|
||||
symbol [ requestUpdate %tmp.10 22 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 21 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 23 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_17_71_22_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_19_71_24_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 23; @symbol_functiondef = [onHold,23,13,19]; @symbol_param<0> = [clickEvent,23,20,30]; @symbol_param<0>_type<0> = [WatchUi,23,34,41]; @symbol_param<0>_type<1> = [ClickEvent,23,42,52]; @symbol_return<0> = [Lang,23,57,61]; @symbol_return<1> = [Boolean,23,62,69]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 25; @symbol_functiondef = [onHold,25,13,19]; @symbol_param<0> = [clickEvent,25,20,30]; @symbol_param<0>_type<0> = [WatchUi,25,34,41]; @symbol_param<0>_type<1> = [ClickEvent,25,42,52]; @symbol_return<0> = [Lang,25,57,61]; @symbol_return<1> = [Boolean,25,62,69]; ]
|
||||
function onHold(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_23_70_28_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 24 6 ]
|
||||
symbol [ $ %tmp.1 24 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_25_70_30_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 26 6 ]
|
||||
symbol [ $ %tmp.1 26 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onHold";
|
||||
symbol [ kjr ? 24 8 11 ];
|
||||
symbol [ kjr ? 26 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 25 6 ]
|
||||
symbol [ System %tmp.4 25 6 12 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 27 6 ]
|
||||
symbol [ System %tmp.4 27 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 25 13 20 ];
|
||||
symbol [ println %tmp.5 27 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %clickEvent;
|
||||
symbol [ clickEvent %tmp.6 25 21 31 ];
|
||||
symbol [ getType %tmp.7 25 32 39 ];
|
||||
symbol [ clickEvent %tmp.6 27 21 31 ];
|
||||
symbol [ getType %tmp.7 27 32 39 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 26 6 ]
|
||||
symbol [ WatchUi %tmp.9 26 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 28 6 ]
|
||||
symbol [ WatchUi %tmp.9 28 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 26 14 27 ];
|
||||
symbol [ requestUpdate %tmp.10 28 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 27 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 29 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_23_70_28_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_25_70_30_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 29; @symbol_functiondef = [onKey,29,13,18]; @symbol_param<0> = [keyEvent,29,19,27]; @symbol_param<0>_type<0> = [WatchUi,29,31,38]; @symbol_param<0>_type<1> = [KeyEvent,29,39,47]; @symbol_return<0> = [Lang,29,52,56]; @symbol_return<1> = [Boolean,29,57,64]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 31; @symbol_functiondef = [onKey,31,13,18]; @symbol_param<0> = [keyEvent,31,19,27]; @symbol_param<0>_type<0> = [WatchUi,31,31,38]; @symbol_param<0>_type<1> = [KeyEvent,31,39,47]; @symbol_return<0> = [Lang,31,52,56]; @symbol_return<1> = [Boolean,31,57,64]; ]
|
||||
function onKey(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_29_65_34_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 30 6 ]
|
||||
symbol [ $ %tmp.1 30 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_31_65_36_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 32 6 ]
|
||||
symbol [ $ %tmp.1 32 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onKey";
|
||||
symbol [ kjr ? 30 8 11 ];
|
||||
symbol [ kjr ? 32 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 31 6 ]
|
||||
symbol [ System %tmp.4 31 6 12 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 33 6 ]
|
||||
symbol [ System %tmp.4 33 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 31 13 20 ];
|
||||
symbol [ println %tmp.5 33 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %keyEvent;
|
||||
symbol [ keyEvent %tmp.6 31 21 29 ];
|
||||
symbol [ getKey %tmp.7 31 30 36 ];
|
||||
symbol [ keyEvent %tmp.6 33 21 29 ];
|
||||
symbol [ getKey %tmp.7 33 30 36 ];
|
||||
%tmp.7 = getv function %tmp.6 :getKey;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 32 6 ]
|
||||
symbol [ WatchUi %tmp.9 32 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 34 6 ]
|
||||
symbol [ WatchUi %tmp.9 34 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 32 14 27 ];
|
||||
symbol [ requestUpdate %tmp.10 34 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 33 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 35 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_29_65_34_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_31_65_36_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 35; @symbol_functiondef = [onKeyPressed,35,13,25]; @symbol_param<0> = [keyEvent,35,26,34]; @symbol_param<0>_type<0> = [WatchUi,35,38,45]; @symbol_param<0>_type<1> = [KeyEvent,35,46,54]; @symbol_return<0> = [Lang,35,59,63]; @symbol_return<1> = [Boolean,35,64,71]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 37; @symbol_functiondef = [onKeyPressed,37,13,25]; @symbol_param<0> = [keyEvent,37,26,34]; @symbol_param<0>_type<0> = [WatchUi,37,38,45]; @symbol_param<0>_type<1> = [KeyEvent,37,46,54]; @symbol_return<0> = [Lang,37,59,63]; @symbol_return<1> = [Boolean,37,64,71]; ]
|
||||
function onKeyPressed(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_35_72_40_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 36 6 ]
|
||||
symbol [ $ %tmp.1 36 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_37_72_42_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 38 6 ]
|
||||
symbol [ $ %tmp.1 38 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onKeyPressed";
|
||||
symbol [ kjr ? 36 8 11 ];
|
||||
symbol [ kjr ? 38 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 37 6 ]
|
||||
symbol [ System %tmp.4 37 6 12 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 39 6 ]
|
||||
symbol [ System %tmp.4 39 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 37 13 20 ];
|
||||
symbol [ println %tmp.5 39 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %keyEvent;
|
||||
symbol [ keyEvent %tmp.6 37 21 29 ];
|
||||
symbol [ getKey %tmp.7 37 30 36 ];
|
||||
symbol [ keyEvent %tmp.6 39 21 29 ];
|
||||
symbol [ getKey %tmp.7 39 30 36 ];
|
||||
%tmp.7 = getv function %tmp.6 :getKey;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 38 6 ]
|
||||
symbol [ WatchUi %tmp.9 38 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 40 6 ]
|
||||
symbol [ WatchUi %tmp.9 40 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 38 14 27 ];
|
||||
symbol [ requestUpdate %tmp.10 40 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 39 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 41 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_35_72_40_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_37_72_42_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 41; @symbol_functiondef = [onKeyReleased,41,13,26]; @symbol_param<0> = [keyEvent,41,27,35]; @symbol_param<0>_type<0> = [WatchUi,41,39,46]; @symbol_param<0>_type<1> = [KeyEvent,41,47,55]; @symbol_return<0> = [Lang,41,60,64]; @symbol_return<1> = [Boolean,41,65,72]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 43; @symbol_functiondef = [onKeyReleased,43,13,26]; @symbol_param<0> = [keyEvent,43,27,35]; @symbol_param<0>_type<0> = [WatchUi,43,39,46]; @symbol_param<0>_type<1> = [KeyEvent,43,47,55]; @symbol_return<0> = [Lang,43,60,64]; @symbol_return<1> = [Boolean,43,65,72]; ]
|
||||
function onKeyReleased(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_41_73_46_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 42 6 ]
|
||||
symbol [ $ %tmp.1 42 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_43_73_48_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 44 6 ]
|
||||
symbol [ $ %tmp.1 44 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onKeyReleased";
|
||||
symbol [ kjr ? 42 8 11 ];
|
||||
symbol [ kjr ? 44 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 43 6 ]
|
||||
symbol [ System %tmp.4 43 6 12 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 45 6 ]
|
||||
symbol [ System %tmp.4 45 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 43 13 20 ];
|
||||
symbol [ println %tmp.5 45 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %keyEvent;
|
||||
symbol [ keyEvent %tmp.6 43 21 29 ];
|
||||
symbol [ getKey %tmp.7 43 30 36 ];
|
||||
symbol [ keyEvent %tmp.6 45 21 29 ];
|
||||
symbol [ getKey %tmp.7 45 30 36 ];
|
||||
%tmp.7 = getv function %tmp.6 :getKey;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 44 6 ]
|
||||
symbol [ WatchUi %tmp.9 44 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 46 6 ]
|
||||
symbol [ WatchUi %tmp.9 46 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 44 14 27 ];
|
||||
symbol [ requestUpdate %tmp.10 46 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 45 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 47 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_41_73_46_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_43_73_48_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 47; @symbol_functiondef = [onRelease,47,13,22]; @symbol_param<0> = [clickEvent,47,23,33]; @symbol_param<0>_type<0> = [WatchUi,47,37,44]; @symbol_param<0>_type<1> = [ClickEvent,47,45,55]; @symbol_return<0> = [Lang,47,60,64]; @symbol_return<1> = [Boolean,47,65,72]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 49; @symbol_functiondef = [onRelease,49,13,22]; @symbol_param<0> = [clickEvent,49,23,33]; @symbol_param<0>_type<0> = [WatchUi,49,37,44]; @symbol_param<0>_type<1> = [ClickEvent,49,45,55]; @symbol_return<0> = [Lang,49,60,64]; @symbol_return<1> = [Boolean,49,65,72]; ]
|
||||
function onRelease(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_47_73_52_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 48 6 ]
|
||||
symbol [ $ %tmp.1 48 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_49_73_54_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 50 6 ]
|
||||
symbol [ $ %tmp.1 50 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onRelease";
|
||||
symbol [ kjr ? 48 8 11 ];
|
||||
symbol [ kjr ? 50 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 49 6 ]
|
||||
symbol [ System %tmp.4 49 6 12 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 51 6 ]
|
||||
symbol [ System %tmp.4 51 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 49 13 20 ];
|
||||
symbol [ println %tmp.5 51 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %clickEvent;
|
||||
symbol [ clickEvent %tmp.6 49 21 31 ];
|
||||
symbol [ getType %tmp.7 49 32 39 ];
|
||||
symbol [ clickEvent %tmp.6 51 21 31 ];
|
||||
symbol [ getType %tmp.7 51 32 39 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 50 6 ]
|
||||
symbol [ WatchUi %tmp.9 50 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 52 6 ]
|
||||
symbol [ WatchUi %tmp.9 52 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 50 14 27 ];
|
||||
symbol [ requestUpdate %tmp.10 52 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 51 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 53 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_47_73_52_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_49_73_54_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 53; @symbol_functiondef = [onSelectable,53,13,25]; @symbol_param<0> = [selectableEvent,53,26,41]; @symbol_param<0>_type<0> = [WatchUi,53,45,52]; @symbol_param<0>_type<1> = [SelectableEvent,53,53,68]; @symbol_return<0> = [Lang,53,73,77]; @symbol_return<1> = [Boolean,53,78,85]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 55; @symbol_functiondef = [onSelectable,55,13,25]; @symbol_param<0> = [selectableEvent,55,26,41]; @symbol_param<0>_type<0> = [WatchUi,55,45,52]; @symbol_param<0>_type<1> = [SelectableEvent,55,53,68]; @symbol_return<0> = [Lang,55,73,77]; @symbol_return<1> = [Boolean,55,78,85]; ]
|
||||
function onSelectable(selectableEvent as WatchUi.SelectableEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_53_86_57_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 54 6 ]
|
||||
symbol [ $ %tmp.1 54 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_55_86_59_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 56 6 ]
|
||||
symbol [ $ %tmp.1 56 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onSelectable";
|
||||
symbol [ kjr ? 54 8 11 ];
|
||||
symbol [ kjr ? 56 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 55 6 ]
|
||||
symbol [ WatchUi %tmp.3 55 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 57 6 ]
|
||||
symbol [ WatchUi %tmp.3 57 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 55 14 27 ];
|
||||
symbol [ requestUpdate %tmp.4 57 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 56 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 58 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_53_86_57_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_55_86_59_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 58; @symbol_functiondef = [onSwipe,58,13,20]; @symbol_param<0> = [swipeEvent,58,21,31]; @symbol_param<0>_type<0> = [WatchUi,58,35,42]; @symbol_param<0>_type<1> = [SwipeEvent,58,43,53]; @symbol_return<0> = [Lang,58,58,62]; @symbol_return<1> = [Boolean,58,63,70]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 60; @symbol_functiondef = [onSwipe,60,13,20]; @symbol_param<0> = [swipeEvent,60,21,31]; @symbol_param<0>_type<0> = [WatchUi,60,35,42]; @symbol_param<0>_type<1> = [SwipeEvent,60,43,53]; @symbol_return<0> = [Lang,60,58,62]; @symbol_return<1> = [Boolean,60,63,70]; ]
|
||||
function onSwipe(swipeEvent as WatchUi.SwipeEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_58_71_63_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 59 6 ]
|
||||
symbol [ $ %tmp.1 59 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_60_71_65_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 61 6 ]
|
||||
symbol [ $ %tmp.1 61 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onSwipe";
|
||||
symbol [ kjr ? 59 8 11 ];
|
||||
symbol [ kjr ? 61 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 60 6 ]
|
||||
symbol [ System %tmp.4 60 6 12 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 62 6 ]
|
||||
symbol [ System %tmp.4 62 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 60 13 20 ];
|
||||
symbol [ println %tmp.5 62 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %swipeEvent;
|
||||
symbol [ swipeEvent %tmp.6 60 21 31 ];
|
||||
symbol [ getDirection %tmp.7 60 32 44 ];
|
||||
symbol [ swipeEvent %tmp.6 62 21 31 ];
|
||||
symbol [ getDirection %tmp.7 62 32 44 ];
|
||||
%tmp.7 = getv function %tmp.6 :getDirection;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 61 6 ]
|
||||
symbol [ WatchUi %tmp.9 61 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 63 6 ]
|
||||
symbol [ WatchUi %tmp.9 63 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 61 14 27 ];
|
||||
symbol [ requestUpdate %tmp.10 63 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 62 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 64 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_58_71_63_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_60_71_65_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 64; @symbol_functiondef = [onTap,64,13,18]; @symbol_param<0> = [clickEvent,64,19,29]; @symbol_param<0>_type<0> = [WatchUi,64,33,40]; @symbol_param<0>_type<1> = [ClickEvent,64,41,51]; @symbol_return<0> = [Lang,64,56,60]; @symbol_return<1> = [Boolean,64,61,68]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 66; @symbol_functiondef = [onTap,66,13,18]; @symbol_param<0> = [clickEvent,66,19,29]; @symbol_param<0>_type<0> = [WatchUi,66,33,40]; @symbol_param<0>_type<1> = [ClickEvent,66,41,51]; @symbol_return<0> = [Lang,66,56,60]; @symbol_return<1> = [Boolean,66,61,68]; ]
|
||||
function onTap(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_64_69_69_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 65 6 ]
|
||||
symbol [ $ %tmp.1 65 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_66_69_71_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 67 6 ]
|
||||
symbol [ $ %tmp.1 67 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onTap";
|
||||
symbol [ kjr ? 65 8 11 ];
|
||||
symbol [ kjr ? 67 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 66 6 ]
|
||||
symbol [ System %tmp.4 66 6 12 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 68 6 ]
|
||||
symbol [ System %tmp.4 68 6 12 ];
|
||||
%tmp.4 = getv ? :System;
|
||||
symbol [ println %tmp.5 66 13 20 ];
|
||||
symbol [ println %tmp.5 68 13 20 ];
|
||||
%tmp.5 = getv function %tmp.4 :println;
|
||||
%tmp.6 = lgetv %clickEvent;
|
||||
symbol [ clickEvent %tmp.6 66 21 31 ];
|
||||
symbol [ getType %tmp.7 66 32 39 ];
|
||||
symbol [ clickEvent %tmp.6 68 21 31 ];
|
||||
symbol [ getType %tmp.7 68 32 39 ];
|
||||
%tmp.7 = getv function %tmp.6 :getType;
|
||||
%tmp.8 = invoke %tmp.6 %tmp.7();
|
||||
invoke %tmp.4 %tmp.5(%tmp.8);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 67 6 ]
|
||||
symbol [ WatchUi %tmp.9 67 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 69 6 ]
|
||||
symbol [ WatchUi %tmp.9 69 6 13 ];
|
||||
%tmp.9 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.10 67 14 27 ];
|
||||
symbol [ requestUpdate %tmp.10 69 14 27 ];
|
||||
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
||||
invoke %tmp.9 %tmp.10();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 68 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 70 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_64_69_69_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_66_69_71_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; @symbol_classdef = [MyBehaviorDelegate,72,6,24]; @symbol_extends<0> = [WatchUi,72,33,40]; @symbol_extends<1> = [BehaviorDelegate,72,41,57]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 74; @symbol_classdef = [MyBehaviorDelegate,74,6,24]; @symbol_extends<0> = [WatchUi,74,33,40]; @symbol_extends<1> = [BehaviorDelegate,74,41,57]; ]
|
||||
class MyBehaviorDelegate extends WatchUi.BehaviorDelegate {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 74; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 74; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 74; @symbol_functiondef = [initialize,74,13,23]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 76; @symbol_functiondef = [initialize,76,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_74_26_76_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 75 8 ]
|
||||
symbol [ BehaviorDelegate %tmp.2 75 8 24 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_76_26_78_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 77 8 ]
|
||||
symbol [ BehaviorDelegate %tmp.2 77 8 24 ];
|
||||
%tmp.2 = getv ? :BehaviorDelegate;
|
||||
symbol [ initialize %tmp.3 75 25 35 ];
|
||||
symbol [ initialize %tmp.3 77 25 35 ];
|
||||
%tmp.3 = getv function %tmp.2 :initialize;
|
||||
invoke %tmp.2 %tmp.3();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_74_26_76_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_76_26_78_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 78; @symbol_functiondef = [onMenu,78,13,19]; @symbol_return<0> = [Boolean,78,25,32]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 80; @symbol_functiondef = [onMenu,80,13,19]; @symbol_return<0> = [Boolean,80,25,32]; ]
|
||||
function onMenu() as Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_78_33_82_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 79 6 ]
|
||||
symbol [ $ %tmp.1 79 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_80_33_84_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 81 6 ]
|
||||
symbol [ $ %tmp.1 81 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "OnMenu";
|
||||
symbol [ kjr ? 79 8 11 ];
|
||||
symbol [ kjr ? 81 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 80 6 ]
|
||||
symbol [ WatchUi %tmp.3 80 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 82 6 ]
|
||||
symbol [ WatchUi %tmp.3 82 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 80 14 27 ];
|
||||
symbol [ requestUpdate %tmp.4 82 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 81 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 83 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_78_33_82_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_80_33_84_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 83; @symbol_functiondef = [onActionMenu,83,13,25]; @symbol_return<0> = [Boolean,83,31,38]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 85; @symbol_functiondef = [onActionMenu,85,13,25]; @symbol_return<0> = [Boolean,85,31,38]; ]
|
||||
function onActionMenu() as Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_83_39_87_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 84 6 ]
|
||||
symbol [ $ %tmp.1 84 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_85_39_89_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 86 6 ]
|
||||
symbol [ $ %tmp.1 86 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onActionMenu";
|
||||
symbol [ kjr ? 84 8 11 ];
|
||||
symbol [ kjr ? 86 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 85 6 ]
|
||||
symbol [ WatchUi %tmp.3 85 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 87 6 ]
|
||||
symbol [ WatchUi %tmp.3 87 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 85 14 27 ];
|
||||
symbol [ requestUpdate %tmp.4 87 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 86 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 88 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_83_39_87_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_85_39_89_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 89; @symbol_functiondef = [onBack,89,13,19]; @symbol_return<0> = [Boolean,89,25,32]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 91; @symbol_functiondef = [onBack,91,13,19]; @symbol_return<0> = [Boolean,91,25,32]; ]
|
||||
function onBack() as Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_89_33_93_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 90 6 ]
|
||||
symbol [ $ %tmp.1 90 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_91_33_95_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 92 6 ]
|
||||
symbol [ $ %tmp.1 92 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onBack";
|
||||
symbol [ kjr ? 90 8 11 ];
|
||||
symbol [ kjr ? 92 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 91 6 ]
|
||||
symbol [ WatchUi %tmp.3 91 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 93 6 ]
|
||||
symbol [ WatchUi %tmp.3 93 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 91 14 27 ];
|
||||
symbol [ requestUpdate %tmp.4 93 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 92 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 94 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_89_33_93_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_91_33_95_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 95; @symbol_functiondef = [onNextMode,95,13,23]; @symbol_return<0> = [Lang,95,29,33]; @symbol_return<1> = [Boolean,95,34,41]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 97; @symbol_functiondef = [onNextMode,97,13,23]; @symbol_return<0> = [Lang,97,29,33]; @symbol_return<1> = [Boolean,97,34,41]; ]
|
||||
function onNextMode() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_95_42_99_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 96 6 ]
|
||||
symbol [ $ %tmp.1 96 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_97_42_101_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 98 6 ]
|
||||
symbol [ $ %tmp.1 98 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onNextMode";
|
||||
symbol [ kjr ? 96 8 11 ];
|
||||
symbol [ kjr ? 98 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 97 6 ]
|
||||
symbol [ WatchUi %tmp.3 97 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 99 6 ]
|
||||
symbol [ WatchUi %tmp.3 99 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 97 14 27 ];
|
||||
symbol [ requestUpdate %tmp.4 99 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 98 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 100 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_95_42_99_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_97_42_101_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 101; @symbol_functiondef = [onNextPage,101,13,23]; @symbol_return<0> = [Lang,101,29,33]; @symbol_return<1> = [Boolean,101,34,41]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 103; @symbol_functiondef = [onNextPage,103,13,23]; @symbol_return<0> = [Lang,103,29,33]; @symbol_return<1> = [Boolean,103,34,41]; ]
|
||||
function onNextPage() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_101_42_105_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 102 6 ]
|
||||
symbol [ $ %tmp.1 102 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_103_42_107_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 104 6 ]
|
||||
symbol [ $ %tmp.1 104 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onNextPage";
|
||||
symbol [ kjr ? 102 8 11 ];
|
||||
symbol [ kjr ? 104 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 103 6 ]
|
||||
symbol [ WatchUi %tmp.3 103 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 105 6 ]
|
||||
symbol [ WatchUi %tmp.3 105 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 103 14 27 ];
|
||||
symbol [ requestUpdate %tmp.4 105 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 104 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 106 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_101_42_105_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_103_42_107_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 107; @symbol_functiondef = [onPreviousMode,107,13,27]; @symbol_return<0> = [Lang,107,33,37]; @symbol_return<1> = [Boolean,107,38,45]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 109; @symbol_functiondef = [onPreviousMode,109,13,27]; @symbol_return<0> = [Lang,109,33,37]; @symbol_return<1> = [Boolean,109,38,45]; ]
|
||||
function onPreviousMode() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_107_46_111_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 108 6 ]
|
||||
symbol [ $ %tmp.1 108 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_109_46_113_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 110 6 ]
|
||||
symbol [ $ %tmp.1 110 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onPreviousMode";
|
||||
symbol [ kjr ? 108 8 11 ];
|
||||
symbol [ kjr ? 110 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 109 6 ]
|
||||
symbol [ WatchUi %tmp.3 109 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 111 6 ]
|
||||
symbol [ WatchUi %tmp.3 111 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 109 14 27 ];
|
||||
symbol [ requestUpdate %tmp.4 111 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 110 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 112 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_107_46_111_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_109_46_113_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 113; @symbol_functiondef = [onPreviousPage,113,13,27]; @symbol_return<0> = [Lang,113,33,37]; @symbol_return<1> = [Boolean,113,38,45]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 115; @symbol_functiondef = [onPreviousPage,115,13,27]; @symbol_return<0> = [Lang,115,33,37]; @symbol_return<1> = [Boolean,115,38,45]; ]
|
||||
function onPreviousPage() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_113_46_117_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 114 6 ]
|
||||
symbol [ $ %tmp.1 114 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_115_46_119_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 116 6 ]
|
||||
symbol [ $ %tmp.1 116 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onPreviousPage";
|
||||
symbol [ kjr ? 114 8 11 ];
|
||||
symbol [ kjr ? 116 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 115 6 ]
|
||||
symbol [ WatchUi %tmp.3 115 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 117 6 ]
|
||||
symbol [ WatchUi %tmp.3 117 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 115 14 27 ];
|
||||
symbol [ requestUpdate %tmp.4 117 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 116 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 118 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_113_46_117_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_115_46_119_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 119; @symbol_functiondef = [onSelect,119,13,21]; @symbol_return<0> = [Lang,119,27,31]; @symbol_return<1> = [Boolean,119,32,39]; ]
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 121; @symbol_functiondef = [onSelect,121,13,21]; @symbol_return<0> = [Lang,121,27,31]; @symbol_return<1> = [Boolean,121,32,39]; ]
|
||||
function onSelect() as Lang.Boolean {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_119_39_123_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 120 6 ]
|
||||
symbol [ $ %tmp.1 120 6 7 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_121_39_125_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 122 6 ]
|
||||
symbol [ $ %tmp.1 122 6 7 ];
|
||||
%tmp.1 = getm $;
|
||||
%tmp.2 = "onSelect";
|
||||
symbol [ kjr ? 120 8 11 ];
|
||||
symbol [ kjr ? 122 8 11 ];
|
||||
putv %tmp.1 :kjr %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 121 6 ]
|
||||
symbol [ WatchUi %tmp.3 121 6 13 ];
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 123 6 ]
|
||||
symbol [ WatchUi %tmp.3 123 6 13 ];
|
||||
%tmp.3 = getm $.Toybox.WatchUi;
|
||||
symbol [ requestUpdate %tmp.4 121 14 27 ];
|
||||
symbol [ requestUpdate %tmp.4 123 14 27 ];
|
||||
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
||||
invoke %tmp.3 %tmp.4();
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 122 6 ]
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 124 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_119_39_123_4_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_121_39_125_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 1; ]
|
||||
|
||||
@@ -0,0 +1,211 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.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/test/matchCard.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ]
|
||||
import Toybox.Time;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ]
|
||||
import Toybox.Timer;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ]
|
||||
import Toybox.System;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 7; @symbol_classdef = [Card,7,6,10]; ]
|
||||
class Card {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 7; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 7; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 8; @position = 15; @symbol_vardef = [team,8,15,19]; @symbol_type<0> = [enTeam,8,29,35]; ]
|
||||
public
|
||||
var team as enTeam;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 9; @position = 15; @symbol_vardef = [card,9,15,19]; @symbol_type<0> = [enCard,9,29,35]; ]
|
||||
public
|
||||
var card as enCard;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 10; @position = 15; @symbol_vardef = [player,10,15,21]; @symbol_type<0> = [Number,10,29,35]; ]
|
||||
public
|
||||
var player as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 11; @position = 15; @symbol_vardef = [remaining,11,15,24]; @symbol_type<0> = [Number,11,29,35]; ]
|
||||
public
|
||||
var remaining as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 12; @position = 15; @symbol_vardef = [isActive,12,15,23]; @symbol_type<0> = [Boolean,12,29,36]; ]
|
||||
public
|
||||
var isActive as Boolean;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 14; @position = 16; @symbol_vardef = [start,14,16,21]; @symbol_type<0> = [Number,14,29,35]; ]
|
||||
private
|
||||
var start as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 15; @position = 16; @symbol_vardef = [end,15,16,19]; @symbol_type<0> = [Number,15,29,35]; ]
|
||||
private
|
||||
var end as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 16; @position = 16; @symbol_vardef = [duration,16,16,24]; @symbol_type<0> = [Number,16,29,35]; ]
|
||||
private
|
||||
var duration as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 17; @position = 16; @symbol_vardef = [_datetime,17,16,25]; @symbol_type<0> = [Number,17,29,35]; ]
|
||||
private
|
||||
var _datetime as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 21; @symbol_functiondef = [initialize,21,13,23]; @symbol_param<0> = [tm,21,24,26]; @symbol_param<0>_type<0> = [enTeam,21,30,36]; @symbol_param<1> = [cd,21,38,40]; @symbol_param<1>_type<0> = [enCard,21,44,50]; @symbol_param<2> = [pl,21,52,54]; @symbol_param<2>_type<0> = [Number,21,58,64]; @symbol_param<3> = [dn,21,66,68]; @symbol_param<3>_type<0> = [Number,21,72,78]; @symbol_param<4> = [st,21,80,82]; @symbol_param<4>_type<0> = [Number,21,86,92]; ]
|
||||
function initialize(tm as enTeam, cd as enCard, pl as Number, dn as Number, st as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_21_93_34_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 22 8 ]
|
||||
%tmp.1 = lgetv %tm;
|
||||
symbol [ tm %tmp.1 22 19 21 ];
|
||||
symbol [ team ? 22 8 12 ];
|
||||
putv self :team %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 23 8 ]
|
||||
%tmp.2 = lgetv %cd;
|
||||
symbol [ cd %tmp.2 23 19 21 ];
|
||||
symbol [ card ? 23 8 12 ];
|
||||
putv self :card %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 24 8 ]
|
||||
%tmp.3 = lgetv %st;
|
||||
symbol [ st %tmp.3 24 19 21 ];
|
||||
symbol [ start ? 24 8 13 ];
|
||||
putv self :start %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 25 8 ]
|
||||
%tmp.4 = lgetv %dn;
|
||||
symbol [ dn %tmp.4 25 19 21 ];
|
||||
%tmp.5 = 60;
|
||||
%tmp.6 = mul %tmp.4 %tmp.5;
|
||||
symbol [ duration ? 25 8 16 ];
|
||||
putv self :duration %tmp.6;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 26 8 ]
|
||||
symbol [ duration %tmp.8 26 20 28 ];
|
||||
%tmp.8 = getv ? :duration;
|
||||
symbol [ remaining ? 26 8 17 ];
|
||||
putv self :remaining %tmp.8;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 27 8 ]
|
||||
symbol [ start %tmp.10 27 19 24 ];
|
||||
%tmp.10 = getv ? :start;
|
||||
symbol [ duration %tmp.12 27 27 35 ];
|
||||
%tmp.12 = getv ? :duration;
|
||||
%tmp.13 = add %tmp.10 %tmp.12;
|
||||
symbol [ end ? 27 8 11 ];
|
||||
putv self :end %tmp.13;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 28 8 ]
|
||||
%tmp.14 = lgetv %pl;
|
||||
symbol [ pl %tmp.14 28 19 21 ];
|
||||
symbol [ player ? 28 8 14 ];
|
||||
putv self :player %tmp.14;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 29 8 ]
|
||||
%tmp.15 = true;
|
||||
symbol [ isActive ? 29 8 16 ];
|
||||
putv self :isActive %tmp.15;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 30 8 ]
|
||||
symbol [ Time %tmp.16 30 20 24 ];
|
||||
%tmp.16 = getm $.Toybox.Time;
|
||||
symbol [ now %tmp.17 30 25 28 ];
|
||||
%tmp.17 = getv function %tmp.16 :now;
|
||||
%tmp.18 = invoke %tmp.16 %tmp.17();
|
||||
symbol [ value %tmp.19 30 31 36 ];
|
||||
%tmp.19 = getv function %tmp.18 :value;
|
||||
%tmp.20 = invoke %tmp.18 %tmp.19();
|
||||
symbol [ _datetime ? 30 8 17 ];
|
||||
putv self :_datetime %tmp.20;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_21_93_34_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 40; @symbol_functiondef = [dummy,40,20,25]; @symbol_param<0> = [q,40,26,27]; @symbol_param<0>_type<0> = [Boolean,40,31,38]; ]
|
||||
public
|
||||
function dummy(q as Boolean) as Void {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 42; @symbol_functiondef = [update,42,20,26]; @symbol_param<0> = [el,42,27,29]; @symbol_param<0>_type<0> = [Number,42,33,39]; ]
|
||||
public
|
||||
function update(el as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_42_48_50_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 43 8 ]
|
||||
symbol [ end %tmp.2 43 20 23 ];
|
||||
%tmp.2 = getv ? :end;
|
||||
%tmp.3 = lgetv %el;
|
||||
symbol [ el %tmp.3 43 26 28 ];
|
||||
%tmp.4 = sub %tmp.2 %tmp.3;
|
||||
symbol [ remaining ? 43 8 17 ];
|
||||
putv self :remaining %tmp.4;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 45 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_45_8_49_8_if_stmt:
|
||||
symbol [ end %tmp.6 45 11 14 ];
|
||||
%tmp.6 = getv ? :end;
|
||||
%tmp.7 = lgetv %el;
|
||||
symbol [ el %tmp.7 45 17 19 ];
|
||||
%tmp.8 = sub %tmp.6 %tmp.7;
|
||||
%tmp.9 = 0;
|
||||
%tmp.10 = eq %tmp.8 %tmp.9;
|
||||
bf %tmp.10 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_45_8_49_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_45_8_49_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_45_25_49_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 47 16 ]
|
||||
symbol [ System %tmp.11 47 16 22 ];
|
||||
%tmp.11 = getm $.Toybox.System;
|
||||
symbol [ println %tmp.12 47 23 30 ];
|
||||
%tmp.12 = getv function %tmp.11 :println;
|
||||
symbol [ Lang %tmp.13 47 31 35 ];
|
||||
%tmp.13 = getm $.Toybox.Lang;
|
||||
symbol [ format %tmp.14 47 36 42 ];
|
||||
%tmp.14 = getv function %tmp.13 :format;
|
||||
%tmp.15 = "Card: $1$ Over";
|
||||
%tmp.16 = newa 1;
|
||||
symbol [ player %tmp.18 47 61 67 ];
|
||||
%tmp.18 = getv ? :player;
|
||||
symbol [ format %tmp.19 47 68 74 ];
|
||||
%tmp.19 = getv function %tmp.18 :format;
|
||||
%tmp.20 = "%02d";
|
||||
%tmp.21 = invoke %tmp.18 %tmp.19(%tmp.20);
|
||||
%tmp.22 = dup %tmp.16;
|
||||
%tmp.23 = aputv %tmp.22 0 %tmp.21;
|
||||
%tmp.24 = invoke %tmp.13 %tmp.14(%tmp.15, %tmp.23);
|
||||
invoke %tmp.11 %tmp.12(%tmp.24);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 48 16 ]
|
||||
%tmp.25 = false;
|
||||
symbol [ isActive ? 48 16 24 ];
|
||||
putv self :isActive %tmp.25;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_45_25_49_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_45_8_49_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_45_8_49_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_42_48_50_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 52; @symbol_functiondef = [toDict,52,13,19]; @symbol_return<0> = [Dictionary,52,25,35]; ]
|
||||
function toDict() as Dictionary {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_52_36_62_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc" 53 8 ]
|
||||
%tmp.1 = newd 7;
|
||||
%tmp.2 = "team";
|
||||
symbol [ team %tmp.4 54 26 30 ];
|
||||
%tmp.4 = getv ? :team;
|
||||
%tmp.5 = dup %tmp.1;
|
||||
%tmp.6 = aputv %tmp.5 %tmp.2 %tmp.4;
|
||||
%tmp.7 = "start";
|
||||
symbol [ start %tmp.9 55 26 31 ];
|
||||
%tmp.9 = getv ? :start;
|
||||
%tmp.10 = dup %tmp.6;
|
||||
%tmp.11 = aputv %tmp.10 %tmp.7 %tmp.9;
|
||||
%tmp.12 = "end";
|
||||
symbol [ end %tmp.14 56 26 29 ];
|
||||
%tmp.14 = getv ? :end;
|
||||
%tmp.15 = dup %tmp.11;
|
||||
%tmp.16 = aputv %tmp.15 %tmp.12 %tmp.14;
|
||||
%tmp.17 = "card";
|
||||
symbol [ card %tmp.19 57 26 30 ];
|
||||
%tmp.19 = getv ? :card;
|
||||
%tmp.20 = dup %tmp.16;
|
||||
%tmp.21 = aputv %tmp.20 %tmp.17 %tmp.19;
|
||||
%tmp.22 = "player";
|
||||
symbol [ player %tmp.24 58 26 32 ];
|
||||
%tmp.24 = getv ? :player;
|
||||
%tmp.25 = dup %tmp.21;
|
||||
%tmp.26 = aputv %tmp.25 %tmp.22 %tmp.24;
|
||||
%tmp.27 = "duration";
|
||||
symbol [ duration %tmp.29 59 26 34 ];
|
||||
%tmp.29 = getv ? :duration;
|
||||
%tmp.30 = dup %tmp.26;
|
||||
%tmp.31 = aputv %tmp.30 %tmp.27 %tmp.29;
|
||||
%tmp.32 = "datetime";
|
||||
symbol [ _datetime %tmp.34 60 26 35 ];
|
||||
%tmp.34 = getv ? :_datetime;
|
||||
%tmp.35 = dup %tmp.31;
|
||||
%tmp.36 = aputv %tmp.35 %tmp.32 %tmp.34;
|
||||
ret %tmp.36;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchCard_mc_52_36_62_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchCard.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -0,0 +1,373 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.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/test/matchData.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ]
|
||||
import Toybox.Time;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ]
|
||||
import Toybox.Timer;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ]
|
||||
import Toybox.System;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 7; @symbol_classdef = [Match,7,6,11]; ]
|
||||
class Match {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 7; ]
|
||||
<init> {
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 12 15 ]
|
||||
%tmp.1 = newa 0;
|
||||
putv self :periods %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 14 15 ]
|
||||
%tmp.2 = newa 0;
|
||||
putv self :goals %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 15 15 ]
|
||||
%tmp.3 = newa 0;
|
||||
putv self :cards %tmp.3;
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 7; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 8; @position = 16; @symbol_vardef = [_datetime,8,16,25]; @symbol_type<0> = [Number,8,34,40]; ]
|
||||
private
|
||||
var _datetime as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 9; @position = 16; @symbol_vardef = [_startTime,9,16,26]; @symbol_type<0> = [Number,9,34,40]; ]
|
||||
private
|
||||
var _startTime as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 10; @position = 16; @symbol_vardef = [_period,10,16,23]; @symbol_type<0> = [Number,10,27,33]; ]
|
||||
private
|
||||
var _period as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 12; @position = 15; @symbol_vardef = [periods,12,15,22]; @symbol_type<0> = [Array,12,34,39]; @symbol_type<1> = [Period,12,40,46]; ]
|
||||
public
|
||||
var periods as Array<Period>;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 13; @position = 15; @symbol_vardef = [period,13,15,21]; @symbol_type<0> = [Period,13,34,40]; ]
|
||||
public
|
||||
var period as Period or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 14; @position = 15; @symbol_vardef = [goals,14,15,20]; @symbol_type<0> = [Array,14,34,39]; @symbol_type<1> = [Goal,14,40,44]; ]
|
||||
public
|
||||
var goals as Array<Goal>;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 15; @position = 15; @symbol_vardef = [cards,15,15,20]; @symbol_type<0> = [Array,15,34,39]; @symbol_type<1> = [Card,15,40,44]; ]
|
||||
public
|
||||
var cards as Array<Card>;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 17; @position = 15; @symbol_vardef = [playCount,17,15,24]; @symbol_type<0> = [Number,17,34,40]; ]
|
||||
public
|
||||
var playCount as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 18; @position = 15; @symbol_vardef = [breakCount,18,15,25]; @symbol_type<0> = [Number,18,34,40]; ]
|
||||
public
|
||||
var breakCount as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 19; @position = 15; @symbol_vardef = [periodCount,19,15,26]; @symbol_type<0> = [Number,19,34,40]; ]
|
||||
public
|
||||
var periodCount as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 20; @position = 15; @symbol_vardef = [homeScore,20,15,24]; @symbol_type<0> = [Number,20,34,40]; ]
|
||||
public
|
||||
var homeScore as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 21; @position = 15; @symbol_vardef = [awayScore,21,15,24]; @symbol_type<0> = [Number,21,34,40]; ]
|
||||
public
|
||||
var awayScore as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 22; @position = 15; @symbol_vardef = [completed,22,15,24]; @symbol_type<0> = [Number,22,28,34]; ]
|
||||
public
|
||||
var completed as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 23; @position = 15; @symbol_vardef = [duration,23,15,23]; @symbol_type<0> = [Number,23,30,36]; ]
|
||||
public
|
||||
var duration as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 24; @position = 15; @symbol_vardef = [remaining,24,15,24]; @symbol_type<0> = [Number,24,30,36]; ]
|
||||
public
|
||||
var remaining as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 25; @position = 15; @symbol_vardef = [elapsed,25,15,22]; @symbol_type<0> = [Number,25,30,36]; ]
|
||||
public
|
||||
var elapsed as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 27; @position = 15; @symbol_vardef = [timerMM,27,15,22]; @symbol_type<0> = [Number,27,28,34]; ]
|
||||
public
|
||||
var timerMM as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 28; @position = 15; @symbol_vardef = [timerSS,28,15,22]; @symbol_type<0> = [Number,28,30,36]; ]
|
||||
public
|
||||
var timerSS as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 29; @position = 15; @symbol_vardef = [display,29,15,22]; @symbol_type<0> = [String,29,30,36]; ]
|
||||
public
|
||||
var display as String or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 30; @position = 15; @symbol_vardef = [state,30,15,20]; @symbol_type<0> = [$,30,24,25]; @symbol_type<1> = [enGame,30,26,32]; ]
|
||||
public
|
||||
var state as $.enGame;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 32; @symbol_functiondef = [initialize,32,13,23]; ]
|
||||
function initialize() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_32_26_56_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 33 8 ]
|
||||
symbol [ Time %tmp.1 33 26 30 ];
|
||||
%tmp.1 = getm $.Toybox.Time;
|
||||
symbol [ now %tmp.2 33 31 34 ];
|
||||
%tmp.2 = getv function %tmp.1 :now;
|
||||
%tmp.3 = invoke %tmp.1 %tmp.2();
|
||||
symbol [ value %tmp.4 33 37 42 ];
|
||||
%tmp.4 = getv function %tmp.3 :value;
|
||||
%tmp.5 = invoke %tmp.3 %tmp.4();
|
||||
symbol [ _datetime ? 33 8 17 ];
|
||||
putv self :_datetime %tmp.5;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 34 8 ]
|
||||
symbol [ PREGAME %tmp.7 34 16 23 ];
|
||||
%tmp.7 = getv ? :PREGAME;
|
||||
symbol [ state ? 34 8 13 ];
|
||||
putv self :state %tmp.7;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 36 8 ]
|
||||
symbol [ periods %tmp.9 36 8 15 ];
|
||||
%tmp.9 = getv ? :periods;
|
||||
symbol [ add %tmp.10 36 16 19 ];
|
||||
%tmp.10 = getv function %tmp.9 :add;
|
||||
symbol [ Period %tmp.14 36 24 30 ];
|
||||
%tmp.14 = getv ? :Period;
|
||||
%tmp.15 = "1st Quarter";
|
||||
symbol [ PLAY %tmp.17 36 46 50 ];
|
||||
%tmp.17 = getv ? :PLAY;
|
||||
%tmp.18 = 10;
|
||||
%tmp.11 = newc %tmp.14 (%tmp.15, %tmp.17, %tmp.18);
|
||||
invoke %tmp.9 %tmp.10(%tmp.11);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 37 8 ]
|
||||
symbol [ periods %tmp.20 37 8 15 ];
|
||||
%tmp.20 = getv ? :periods;
|
||||
symbol [ add %tmp.21 37 16 19 ];
|
||||
%tmp.21 = getv function %tmp.20 :add;
|
||||
symbol [ Period %tmp.25 37 24 30 ];
|
||||
%tmp.25 = getv ? :Period;
|
||||
%tmp.26 = "1/4 Break";
|
||||
symbol [ BREAK %tmp.28 37 46 51 ];
|
||||
%tmp.28 = getv ? :BREAK;
|
||||
%tmp.29 = 2;
|
||||
%tmp.22 = newc %tmp.25 (%tmp.26, %tmp.28, %tmp.29);
|
||||
invoke %tmp.20 %tmp.21(%tmp.22);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 38 8 ]
|
||||
symbol [ periods %tmp.31 38 8 15 ];
|
||||
%tmp.31 = getv ? :periods;
|
||||
symbol [ add %tmp.32 38 16 19 ];
|
||||
%tmp.32 = getv function %tmp.31 :add;
|
||||
symbol [ Period %tmp.36 38 24 30 ];
|
||||
%tmp.36 = getv ? :Period;
|
||||
%tmp.37 = "2nd Quarter";
|
||||
symbol [ PLAY %tmp.39 38 46 50 ];
|
||||
%tmp.39 = getv ? :PLAY;
|
||||
%tmp.40 = 10;
|
||||
%tmp.33 = newc %tmp.36 (%tmp.37, %tmp.39, %tmp.40);
|
||||
invoke %tmp.31 %tmp.32(%tmp.33);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 39 8 ]
|
||||
symbol [ periods %tmp.42 39 8 15 ];
|
||||
%tmp.42 = getv ? :periods;
|
||||
symbol [ add %tmp.43 39 16 19 ];
|
||||
%tmp.43 = getv function %tmp.42 :add;
|
||||
symbol [ Period %tmp.47 39 24 30 ];
|
||||
%tmp.47 = getv ? :Period;
|
||||
%tmp.48 = "1/2 Break";
|
||||
symbol [ BREAK %tmp.50 39 46 51 ];
|
||||
%tmp.50 = getv ? :BREAK;
|
||||
%tmp.51 = 2;
|
||||
%tmp.44 = newc %tmp.47 (%tmp.48, %tmp.50, %tmp.51);
|
||||
invoke %tmp.42 %tmp.43(%tmp.44);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 40 8 ]
|
||||
symbol [ periods %tmp.53 40 8 15 ];
|
||||
%tmp.53 = getv ? :periods;
|
||||
symbol [ add %tmp.54 40 16 19 ];
|
||||
%tmp.54 = getv function %tmp.53 :add;
|
||||
symbol [ Period %tmp.58 40 24 30 ];
|
||||
%tmp.58 = getv ? :Period;
|
||||
%tmp.59 = "3rd Quarter";
|
||||
symbol [ PLAY %tmp.61 40 46 50 ];
|
||||
%tmp.61 = getv ? :PLAY;
|
||||
%tmp.62 = 10;
|
||||
%tmp.55 = newc %tmp.58 (%tmp.59, %tmp.61, %tmp.62);
|
||||
invoke %tmp.53 %tmp.54(%tmp.55);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 41 8 ]
|
||||
symbol [ periods %tmp.64 41 8 15 ];
|
||||
%tmp.64 = getv ? :periods;
|
||||
symbol [ add %tmp.65 41 16 19 ];
|
||||
%tmp.65 = getv function %tmp.64 :add;
|
||||
symbol [ Period %tmp.69 41 24 30 ];
|
||||
%tmp.69 = getv ? :Period;
|
||||
%tmp.70 = "3/4 Break";
|
||||
symbol [ BREAK %tmp.72 41 46 51 ];
|
||||
%tmp.72 = getv ? :BREAK;
|
||||
%tmp.73 = 2;
|
||||
%tmp.66 = newc %tmp.69 (%tmp.70, %tmp.72, %tmp.73);
|
||||
invoke %tmp.64 %tmp.65(%tmp.66);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 42 8 ]
|
||||
symbol [ periods %tmp.75 42 8 15 ];
|
||||
%tmp.75 = getv ? :periods;
|
||||
symbol [ add %tmp.76 42 16 19 ];
|
||||
%tmp.76 = getv function %tmp.75 :add;
|
||||
symbol [ Period %tmp.80 42 24 30 ];
|
||||
%tmp.80 = getv ? :Period;
|
||||
%tmp.81 = "4th Quarter";
|
||||
symbol [ PLAY %tmp.83 42 46 50 ];
|
||||
%tmp.83 = getv ? :PLAY;
|
||||
%tmp.84 = 10;
|
||||
%tmp.77 = newc %tmp.80 (%tmp.81, %tmp.83, %tmp.84);
|
||||
invoke %tmp.75 %tmp.76(%tmp.77);
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 43 8 ]
|
||||
symbol [ periods %tmp.86 43 17 24 ];
|
||||
%tmp.86 = getv ? :periods;
|
||||
symbol [ _period %tmp.88 43 25 32 ];
|
||||
%tmp.88 = getv ? :_period;
|
||||
%tmp.89 = agetv %tmp.86 %tmp.88;
|
||||
symbol [ period ? 43 8 14 ];
|
||||
putv self :period %tmp.89;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 45 8 ]
|
||||
for @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_test @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_incr @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_init:
|
||||
[ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_begin" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_end" ]
|
||||
%i.1 = local;
|
||||
symbol [ i %i.1 45 16 17 ];
|
||||
%tmp.90 = 0;
|
||||
lputv %i.1 %tmp.90;
|
||||
symbol [ i %i.1 45 16 17 ];
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_test:
|
||||
%tmp.91 = lgetv %i.1;
|
||||
symbol [ i %tmp.91 45 23 24 ];
|
||||
symbol [ periods %tmp.93 45 26 33 ];
|
||||
%tmp.93 = getv ? :periods;
|
||||
symbol [ size %tmp.94 45 34 38 ];
|
||||
%tmp.94 = getv function %tmp.93 :size;
|
||||
%tmp.95 = invoke %tmp.93 %tmp.94();
|
||||
%tmp.96 = lt %tmp.91 %tmp.95;
|
||||
bf %tmp.96 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_begin:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_46_55_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 46 12 ]
|
||||
symbol [ periodCount %tmp.99 46 12 23 ];
|
||||
%tmp.99 = getv ? :periodCount;
|
||||
%tmp.100 = add %tmp.99 1;
|
||||
symbol [ periodCount ? 46 12 23 ];
|
||||
putv self :periodCount dup %tmp.100;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 47 12 ]
|
||||
symbol [ period %tmp.102 47 20 26 ];
|
||||
%tmp.102 = getv ? :period;
|
||||
symbol [ type %tmp.103 47 27 31 ];
|
||||
%tmp.103 = getv %tmp.102 :type;
|
||||
push %tmp.103;
|
||||
switch %tmp.103 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_47_12_54_12_switchStmtEnd;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_47_12_54_12_switchStmtBegin:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 48 16 ]
|
||||
%tmp.104 = dup %tmp.103;
|
||||
symbol [ PLAY %tmp.106 48 21 25 ];
|
||||
%tmp.106 = getv ? :PLAY;
|
||||
%tmp.107 = getv function %tmp.104 :equals;
|
||||
%tmp.108 = invoke %tmp.104 %tmp.107 (%tmp.106);
|
||||
bt %tmp.108 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_48_16_51_25_switchCase;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 52 16 ]
|
||||
%tmp.109 = dup %tmp.103;
|
||||
symbol [ BREAK %tmp.111 52 21 26 ];
|
||||
%tmp.111 = getv ? :BREAK;
|
||||
%tmp.112 = getv function %tmp.109 :equals;
|
||||
%tmp.113 = invoke %tmp.109 %tmp.112 (%tmp.111);
|
||||
bt %tmp.113 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_52_16_53_32_switchCase;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_47_12_54_12_switchStmtDefault:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_47_12_54_12_defaultCodeBegin;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_48_16_51_25_switchCase:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 49 20 ]
|
||||
symbol [ duration %tmp.114 49 20 28 ];
|
||||
%tmp.114 = getv self :duration;
|
||||
symbol [ periods %tmp.116 49 32 39 ];
|
||||
%tmp.116 = getv ? :periods;
|
||||
%tmp.117 = lgetv %i.1;
|
||||
symbol [ i %tmp.117 49 40 41 ];
|
||||
%tmp.118 = agetv %tmp.116 %tmp.117;
|
||||
symbol [ duration %tmp.119 49 43 51 ];
|
||||
%tmp.119 = getv %tmp.118 :duration;
|
||||
%tmp.120 = add %tmp.114 %tmp.119;
|
||||
symbol [ duration ? 49 20 28 ];
|
||||
putv self :duration dup %tmp.120;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 50 20 ]
|
||||
symbol [ playCount %tmp.123 50 20 29 ];
|
||||
%tmp.123 = getv ? :playCount;
|
||||
%tmp.124 = add %tmp.123 1;
|
||||
symbol [ playCount ? 50 20 29 ];
|
||||
putv self :playCount dup %tmp.124;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 51 20 ]
|
||||
goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_47_12_54_12_switchStmtEnd;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_52_16_53_32_switchCase:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 53 20 ]
|
||||
symbol [ breakCount %tmp.127 53 20 30 ];
|
||||
%tmp.127 = getv ? :breakCount;
|
||||
%tmp.128 = add %tmp.127 1;
|
||||
symbol [ breakCount ? 53 20 30 ];
|
||||
putv self :breakCount dup %tmp.128;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_47_12_54_12_defaultCodeBegin:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_47_12_54_12_switchStmtEnd:
|
||||
pop;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_46_55_8_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_incr:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 45 ]
|
||||
%tmp.131 = lgetv %i.1;
|
||||
symbol [ i %tmp.131 45 42 43 ];
|
||||
%tmp.132 = add %tmp.131 1;
|
||||
lputv %i.1 %tmp.132;
|
||||
symbol [ i %i.1 45 42 43 ];
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_test;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_45_8_55_8_for_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_32_26_56_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 58; @symbol_functiondef = [nextPeriod,58,13,23]; ]
|
||||
function nextPeriod() {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_58_25_70_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 59 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_59_8_61_8_if_stmt:
|
||||
symbol [ period %tmp.2 59 12 18 ];
|
||||
%tmp.2 = getv ? :period;
|
||||
symbol [ type %tmp.3 59 19 23 ];
|
||||
%tmp.3 = getv %tmp.2 :type;
|
||||
symbol [ PLAY %tmp.5 59 27 31 ];
|
||||
%tmp.5 = getv ? :PLAY;
|
||||
%tmp.6 = eq %tmp.3 %tmp.5;
|
||||
bf %tmp.6 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_59_8_61_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_59_8_61_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_59_32_61_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 60 12 ]
|
||||
symbol [ completed %tmp.7 60 12 21 ];
|
||||
%tmp.7 = getv self :completed;
|
||||
symbol [ period %tmp.9 60 25 31 ];
|
||||
%tmp.9 = getv ? :period;
|
||||
symbol [ elapsed %tmp.10 60 32 39 ];
|
||||
%tmp.10 = getv %tmp.9 :elapsed;
|
||||
%tmp.11 = add %tmp.7 %tmp.10;
|
||||
symbol [ completed ? 60 12 21 ];
|
||||
putv self :completed dup %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_59_32_61_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_59_8_61_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_59_8_61_8_if_end:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 62 8 ]
|
||||
symbol [ _period %tmp.14 62 8 15 ];
|
||||
%tmp.14 = getv ? :_period;
|
||||
%tmp.15 = add %tmp.14 1;
|
||||
symbol [ _period ? 62 8 15 ];
|
||||
putv self :_period dup %tmp.15;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 64 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_64_8_69_8_if_stmt:
|
||||
symbol [ _period %tmp.17 64 12 19 ];
|
||||
%tmp.17 = getv ? :_period;
|
||||
symbol [ periods %tmp.19 64 22 29 ];
|
||||
%tmp.19 = getv ? :periods;
|
||||
symbol [ size %tmp.20 64 30 34 ];
|
||||
%tmp.20 = getv function %tmp.19 :size;
|
||||
%tmp.21 = invoke %tmp.19 %tmp.20();
|
||||
%tmp.22 = lt %tmp.17 %tmp.21;
|
||||
bf %tmp.22 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_64_8_69_8_if_else_false;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_64_8_69_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_64_37_66_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 65 12 ]
|
||||
symbol [ periods %tmp.24 65 21 28 ];
|
||||
%tmp.24 = getv ? :periods;
|
||||
symbol [ _period %tmp.26 65 29 36 ];
|
||||
%tmp.26 = getv ? :_period;
|
||||
%tmp.27 = agetv %tmp.24 %tmp.26;
|
||||
symbol [ period ? 65 12 18 ];
|
||||
putv self :period %tmp.27;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_64_37_66_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_64_8_69_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_64_8_69_8_if_else_false:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_67_12_69_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc" 68 12 ]
|
||||
symbol [ POSTGAME %tmp.29 68 20 28 ];
|
||||
%tmp.29 = getv ? :POSTGAME;
|
||||
symbol [ state ? 68 12 17 ];
|
||||
putv self :state %tmp.29;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_67_12_69_8_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_64_8_69_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchData_mc_58_25_70_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchData.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.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/test/matchGoal.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ]
|
||||
import Toybox.Time;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ]
|
||||
import Toybox.Timer;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ]
|
||||
import Toybox.System;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 7; @symbol_classdef = [Goal,7,6,10]; ]
|
||||
class Goal {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 7; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 7; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 8; @position = 16; @symbol_vardef = [_team,8,16,21]; @symbol_type<0> = [enTeam,8,29,35]; ]
|
||||
private
|
||||
var _team as enTeam;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 9; @position = 16; @symbol_vardef = [_type,9,16,21]; @symbol_type<0> = [enGoal,9,29,35]; ]
|
||||
private
|
||||
var _type as enGoal;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 10; @position = 16; @symbol_vardef = [_time,10,16,21]; @symbol_type<0> = [Number,10,29,35]; ]
|
||||
private
|
||||
var _time as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 11; @position = 16; @symbol_vardef = [_player,11,16,23]; @symbol_type<0> = [Number,11,29,35]; ]
|
||||
private
|
||||
var _player as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 12; @position = 16; @symbol_vardef = [_datetime,12,16,25]; @symbol_type<0> = [Number,12,29,35]; ]
|
||||
private
|
||||
var _datetime as Number;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 14; @symbol_functiondef = [initialize,14,13,23]; @symbol_param<0> = [team,14,24,28]; @symbol_param<0>_type<0> = [enTeam,14,32,38]; @symbol_param<1> = [type,14,40,44]; @symbol_param<1>_type<0> = [enGoal,14,48,54]; @symbol_param<2> = [player,14,56,62]; @symbol_param<2>_type<0> = [Number,14,66,72]; @symbol_param<3> = [time,14,74,78]; @symbol_param<3>_type<0> = [Number,14,82,88]; ]
|
||||
function initialize(team as enTeam, type as enGoal, player as Number, time as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchGoal_mc_14_90_20_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc" 15 8 ]
|
||||
%tmp.1 = lgetv %team;
|
||||
symbol [ team %tmp.1 15 20 24 ];
|
||||
symbol [ _team ? 15 8 13 ];
|
||||
putv self :_team %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc" 16 8 ]
|
||||
%tmp.2 = lgetv %type;
|
||||
symbol [ type %tmp.2 16 20 24 ];
|
||||
symbol [ _type ? 16 8 13 ];
|
||||
putv self :_type %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc" 17 8 ]
|
||||
%tmp.3 = lgetv %time;
|
||||
symbol [ time %tmp.3 17 20 24 ];
|
||||
symbol [ _time ? 17 8 13 ];
|
||||
putv self :_time %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc" 18 8 ]
|
||||
%tmp.4 = lgetv %player;
|
||||
symbol [ player %tmp.4 18 20 26 ];
|
||||
symbol [ _player ? 18 8 15 ];
|
||||
putv self :_player %tmp.4;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc" 19 8 ]
|
||||
symbol [ Time %tmp.5 19 20 24 ];
|
||||
%tmp.5 = getm $.Toybox.Time;
|
||||
symbol [ now %tmp.6 19 25 28 ];
|
||||
%tmp.6 = getv function %tmp.5 :now;
|
||||
%tmp.7 = invoke %tmp.5 %tmp.6();
|
||||
symbol [ value %tmp.8 19 31 36 ];
|
||||
%tmp.8 = getv function %tmp.7 :value;
|
||||
%tmp.9 = invoke %tmp.7 %tmp.8();
|
||||
symbol [ _datetime ? 19 8 17 ];
|
||||
putv self :_datetime %tmp.9;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchGoal_mc_14_90_20_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 22; @symbol_functiondef = [toDict,22,13,19]; @symbol_return<0> = [Dictionary,22,25,35]; ]
|
||||
function toDict() as Dictionary {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchGoal_mc_22_36_30_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc" 23 8 ]
|
||||
%tmp.1 = newd 5;
|
||||
%tmp.2 = "team";
|
||||
symbol [ _team %tmp.4 24 27 32 ];
|
||||
%tmp.4 = getv ? :_team;
|
||||
%tmp.5 = dup %tmp.1;
|
||||
%tmp.6 = aputv %tmp.5 %tmp.2 %tmp.4;
|
||||
%tmp.7 = "type";
|
||||
symbol [ _type %tmp.9 25 27 32 ];
|
||||
%tmp.9 = getv ? :_type;
|
||||
%tmp.10 = dup %tmp.6;
|
||||
%tmp.11 = aputv %tmp.10 %tmp.7 %tmp.9;
|
||||
%tmp.12 = "time";
|
||||
symbol [ _time %tmp.14 26 27 32 ];
|
||||
%tmp.14 = getv ? :_time;
|
||||
%tmp.15 = dup %tmp.11;
|
||||
%tmp.16 = aputv %tmp.15 %tmp.12 %tmp.14;
|
||||
%tmp.17 = "player";
|
||||
symbol [ _player %tmp.19 27 27 34 ];
|
||||
%tmp.19 = getv ? :_player;
|
||||
%tmp.20 = dup %tmp.16;
|
||||
%tmp.21 = aputv %tmp.20 %tmp.17 %tmp.19;
|
||||
%tmp.22 = "datetime";
|
||||
symbol [ _datetime %tmp.24 28 27 36 ];
|
||||
%tmp.24 = getv ? :_datetime;
|
||||
%tmp.25 = dup %tmp.21;
|
||||
%tmp.26 = aputv %tmp.25 %tmp.22 %tmp.24;
|
||||
ret %tmp.26;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchGoal_mc_22_36_30_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchGoal.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
@@ -0,0 +1,232 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.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/test/matchPeriod.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
||||
import Toybox.WatchUi;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ]
|
||||
import Toybox.Time;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ]
|
||||
import Toybox.Timer;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ]
|
||||
import Toybox.System;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 7; @symbol_classdef = [Period,7,6,12]; ]
|
||||
class Period {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 7; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 7; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 8; @position = 15; @symbol_vardef = [name,8,15,19]; @symbol_type<0> = [String,8,28,34]; ]
|
||||
public
|
||||
var name as String or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 9; @position = 15; @symbol_vardef = [type,9,15,19]; @symbol_type<0> = [enPeriod,9,28,36]; ]
|
||||
public
|
||||
var type as enPeriod or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 10; @position = 15; @symbol_vardef = [duration,10,15,23]; @symbol_type<0> = [Number,10,28,34]; ]
|
||||
public
|
||||
var duration as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 11; @position = 15; @symbol_vardef = [remaining,11,15,24]; @symbol_type<0> = [Number,11,28,34]; ]
|
||||
public
|
||||
var remaining as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 12; @position = 15; @symbol_vardef = [elapsed,12,15,22]; @symbol_type<0> = [Number,12,28,34]; ]
|
||||
public
|
||||
var elapsed as Number or Null;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 14; @position = 16; @symbol_vardef = [_play,14,16,21]; @symbol_type<0> = [Boolean,14,28,35]; ]
|
||||
private
|
||||
var _play as Boolean = false;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 15; @position = 16; @symbol_vardef = [_dur,15,16,20]; @symbol_type<0> = [Number,15,28,34]; ]
|
||||
private
|
||||
var _dur as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 16; @position = 16; @symbol_vardef = [_acc,16,16,20]; @symbol_type<0> = [Number,16,28,34]; ]
|
||||
private
|
||||
var _acc as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 17; @position = 16; @symbol_vardef = [_start,17,16,22]; @symbol_type<0> = [Number,17,28,34]; ]
|
||||
private
|
||||
var _start as Number = 0;
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 19; @symbol_functiondef = [initialize,19,13,23]; @symbol_param<0> = [Name,19,24,28]; @symbol_param<0>_type<0> = [String,19,32,38]; @symbol_param<1> = [Type,19,40,44]; @symbol_param<1>_type<0> = [enPeriod,19,48,56]; @symbol_param<2> = [Duration,19,58,66]; @symbol_param<2>_type<0> = [Number,19,70,76]; ]
|
||||
function initialize(Name as String, Type as enPeriod, Duration as Number) as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_19_77_24_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 20 8 ]
|
||||
%tmp.1 = lgetv %Name;
|
||||
symbol [ Name %tmp.1 20 17 21 ];
|
||||
symbol [ name ? 20 8 12 ];
|
||||
putv self :name %tmp.1;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 21 8 ]
|
||||
%tmp.2 = lgetv %Type;
|
||||
symbol [ Type %tmp.2 21 20 24 ];
|
||||
symbol [ type ? 21 8 12 ];
|
||||
putv self :type %tmp.2;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 22 8 ]
|
||||
%tmp.3 = lgetv %Duration;
|
||||
symbol [ Duration %tmp.3 22 20 28 ];
|
||||
symbol [ duration ? 22 8 16 ];
|
||||
putv self :duration %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 23 8 ]
|
||||
%tmp.4 = lgetv %Duration;
|
||||
symbol [ Duration %tmp.4 23 20 28 ];
|
||||
symbol [ remaining ? 23 8 17 ];
|
||||
putv self :remaining %tmp.4;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_19_77_24_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 26; @symbol_functiondef = [playPause,26,13,22]; ]
|
||||
function playPause() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_26_32_35_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 27 8 ]
|
||||
symbol [ _play %tmp.2 27 17 22 ];
|
||||
%tmp.2 = getv ? :_play;
|
||||
%tmp.3 = not %tmp.2;
|
||||
symbol [ _play ? 27 8 13 ];
|
||||
putv self :_play %tmp.3;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 28 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_28_8_34_8_if_stmt:
|
||||
symbol [ _play %tmp.5 28 12 17 ];
|
||||
%tmp.5 = getv ? :_play;
|
||||
bf %tmp.5 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_28_8_34_8_if_else_false;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_28_8_34_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_28_18_31_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 29 12 ]
|
||||
symbol [ $ %tmp.6 29 12 13 ];
|
||||
%tmp.6 = getm $;
|
||||
symbol [ gMatch %tmp.7 29 14 20 ];
|
||||
%tmp.7 = getv %tmp.6 :gMatch;
|
||||
symbol [ INGAME %tmp.9 29 29 35 ];
|
||||
%tmp.9 = getv ? :INGAME;
|
||||
symbol [ state ? 29 21 26 ];
|
||||
putv %tmp.7 :state %tmp.9;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 30 12 ]
|
||||
symbol [ System %tmp.10 30 21 27 ];
|
||||
%tmp.10 = getm $.Toybox.System;
|
||||
symbol [ getTimer %tmp.11 30 28 36 ];
|
||||
%tmp.11 = getv function %tmp.10 :getTimer;
|
||||
%tmp.12 = invoke %tmp.10 %tmp.11();
|
||||
symbol [ _start ? 30 12 18 ];
|
||||
putv self :_start %tmp.12;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_28_18_31_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_28_8_34_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_28_8_34_8_if_else_false:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_32_12_34_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 33 12 ]
|
||||
symbol [ _acc %tmp.13 33 12 16 ];
|
||||
%tmp.13 = getv self :_acc;
|
||||
symbol [ System %tmp.14 33 20 26 ];
|
||||
%tmp.14 = getm $.Toybox.System;
|
||||
symbol [ getTimer %tmp.15 33 27 35 ];
|
||||
%tmp.15 = getv function %tmp.14 :getTimer;
|
||||
%tmp.16 = invoke %tmp.14 %tmp.15();
|
||||
symbol [ _start %tmp.18 33 40 46 ];
|
||||
%tmp.18 = getv ? :_start;
|
||||
%tmp.19 = sub %tmp.16 %tmp.18;
|
||||
%tmp.20 = add %tmp.13 %tmp.19;
|
||||
symbol [ _acc ? 33 12 16 ];
|
||||
putv self :_acc dup %tmp.20;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_32_12_34_8_stop:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_28_8_34_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_26_32_35_4_stop:
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 37; @symbol_functiondef = [update,37,13,19]; ]
|
||||
function update() as Void {
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_37_29_52_4_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 38 8 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_38_8_51_8_if_stmt:
|
||||
symbol [ _play %tmp.2 38 12 17 ];
|
||||
%tmp.2 = getv ? :_play;
|
||||
bf %tmp.2 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_38_8_51_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_38_8_51_8_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_38_18_51_8_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 39 12 ]
|
||||
symbol [ System %tmp.3 39 21 27 ];
|
||||
%tmp.3 = getm $.Toybox.System;
|
||||
symbol [ getTimer %tmp.4 39 28 36 ];
|
||||
%tmp.4 = getv function %tmp.3 :getTimer;
|
||||
%tmp.5 = invoke %tmp.3 %tmp.4();
|
||||
symbol [ _start %tmp.7 39 41 47 ];
|
||||
%tmp.7 = getv ? :_start;
|
||||
%tmp.8 = sub %tmp.5 %tmp.7;
|
||||
symbol [ _acc %tmp.10 39 50 54 ];
|
||||
%tmp.10 = getv ? :_acc;
|
||||
%tmp.11 = add %tmp.8 %tmp.10;
|
||||
symbol [ _dur ? 39 12 16 ];
|
||||
putv self :_dur %tmp.11;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 40 12 ]
|
||||
symbol [ _dur %tmp.13 40 22 26 ];
|
||||
%tmp.13 = getv ? :_dur;
|
||||
%tmp.14 = 1000;
|
||||
%tmp.15 = div %tmp.13 %tmp.14;
|
||||
symbol [ elapsed ? 40 12 19 ];
|
||||
putv self :elapsed %tmp.15;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 41 12 ]
|
||||
symbol [ duration %tmp.17 41 24 32 ];
|
||||
%tmp.17 = getv ? :duration;
|
||||
symbol [ elapsed %tmp.19 41 35 42 ];
|
||||
%tmp.19 = getv ? :elapsed;
|
||||
%tmp.20 = sub %tmp.17 %tmp.19;
|
||||
symbol [ remaining ? 41 12 21 ];
|
||||
putv self :remaining %tmp.20;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 43 12 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_43_12_45_12_if_stmt:
|
||||
symbol [ type %tmp.22 43 16 20 ];
|
||||
%tmp.22 = getv ? :type;
|
||||
symbol [ PLAY %tmp.24 43 24 28 ];
|
||||
%tmp.24 = getv ? :PLAY;
|
||||
%tmp.25 = eq %tmp.22 %tmp.24;
|
||||
bf %tmp.25 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_43_12_45_12_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_43_12_45_12_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_43_29_45_12_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 44 16 ]
|
||||
symbol [ $ %tmp.26 44 16 17 ];
|
||||
%tmp.26 = getm $;
|
||||
symbol [ gMatch %tmp.27 44 18 24 ];
|
||||
%tmp.27 = getv %tmp.26 :gMatch;
|
||||
symbol [ $ %tmp.28 44 35 36 ];
|
||||
%tmp.28 = getm $;
|
||||
symbol [ gMatch %tmp.29 44 37 43 ];
|
||||
%tmp.29 = getv %tmp.28 :gMatch;
|
||||
symbol [ completed %tmp.30 44 44 53 ];
|
||||
%tmp.30 = getv %tmp.29 :completed;
|
||||
symbol [ elapsed %tmp.32 44 56 63 ];
|
||||
%tmp.32 = getv ? :elapsed;
|
||||
%tmp.33 = add %tmp.30 %tmp.32;
|
||||
symbol [ elapsed ? 44 25 32 ];
|
||||
putv %tmp.27 :elapsed %tmp.33;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_43_29_45_12_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_43_12_45_12_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_43_12_45_12_if_end:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 47 12 ]
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_47_12_50_12_if_stmt:
|
||||
symbol [ remaining %tmp.35 47 16 25 ];
|
||||
%tmp.35 = getv ? :remaining;
|
||||
%tmp.36 = 0;
|
||||
%tmp.37 = lte %tmp.35 %tmp.36;
|
||||
bf %tmp.37 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_47_12_50_12_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_47_12_50_12_if_true:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_47_32_50_12_start:
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 48 16 ]
|
||||
%tmp.38 = false;
|
||||
symbol [ _play ? 48 16 21 ];
|
||||
putv self :_play %tmp.38;
|
||||
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc" 49 16 ]
|
||||
symbol [ $ %tmp.39 49 16 17 ];
|
||||
%tmp.39 = getm $;
|
||||
symbol [ gMatch %tmp.40 49 18 24 ];
|
||||
%tmp.40 = getv %tmp.39 :gMatch;
|
||||
symbol [ method %tmp.41 49 25 31 ];
|
||||
%tmp.41 = getv function %tmp.40 :method;
|
||||
%tmp.43 = const :nextPeriod;
|
||||
symbol [ nextPeriod %tmp.43 49 33 43 const ];
|
||||
%tmp.44 = invoke %tmp.40 %tmp.41(%tmp.43);
|
||||
symbol [ invoke %tmp.45 49 45 51 ];
|
||||
%tmp.45 = getv function %tmp.44 :invoke;
|
||||
invoke %tmp.44 %tmp.45();
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_47_32_50_12_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_47_12_50_12_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_47_12_50_12_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_38_18_51_8_stop:
|
||||
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_38_8_51_8_if_end;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_38_8_51_8_if_end:
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_matchPeriod_mc_37_29_52_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/matchPeriod.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
Reference in new issue
Block a user