init
This commit is contained in:
commit
13f4132d3c
58 files changed
+6291
No files matched your search
@@ -0,0 +1,68 @@
|
||||
[ @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> {
|
||||
}
|
||||
@@ -0,0 +1,416 @@
|
||||
[ @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> {
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.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/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> {
|
||||
}
|
||||
@@ -0,0 +1,508 @@
|
||||
[ @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> {
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,68 @@
|
||||
[ @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> {
|
||||
}
|
||||
@@ -0,0 +1,508 @@
|
||||
[ @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> {
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
[ @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> {
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
[ @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,508 @@
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/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/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]; ]
|
||||
class MyInputDelegate extends WatchUi.InputDelegate {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 6; @symbol_functiondef = [initialize,6,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 ];
|
||||
%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_test_TestDelegate_mc_6_26_8_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/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/test/TestDelegate.mc" 14 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_10_68_16_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/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/test/TestDelegate.mc" 21 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_17_71_22_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/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/test/TestDelegate.mc" 27 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_23_70_28_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/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/test/TestDelegate.mc" 33 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_29_65_34_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/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/test/TestDelegate.mc" 39 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_35_72_40_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/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/test/TestDelegate.mc" 45 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_41_73_46_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/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/test/TestDelegate.mc" 51 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_47_73_52_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/TestDelegate.mc" 56 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_53_86_57_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/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/test/TestDelegate.mc" 62 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_58_71_63_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/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/test/TestDelegate.mc" 68 6 ]
|
||||
%tmp.11 = true;
|
||||
ret %tmp.11;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_64_69_69_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]; ]
|
||||
class MyBehaviorDelegate extends WatchUi.BehaviorDelegate {
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; ]
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; ]
|
||||
static
|
||||
<init> {
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 74; @symbol_functiondef = [initialize,74,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 ];
|
||||
%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_test_TestDelegate_mc_74_26_76_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/TestDelegate.mc" 81 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_78_33_82_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/TestDelegate.mc" 86 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_83_39_87_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/TestDelegate.mc" 92 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_89_33_93_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/TestDelegate.mc" 98 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_95_42_99_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/TestDelegate.mc" 104 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_101_42_105_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/TestDelegate.mc" 110 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_107_46_111_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/TestDelegate.mc" 116 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_113_46_117_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]; ]
|
||||
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 ];
|
||||
%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/test/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/test/TestDelegate.mc" 122 6 ]
|
||||
%tmp.5 = true;
|
||||
ret %tmp.5;
|
||||
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_119_39_123_4_stop:
|
||||
}
|
||||
}
|
||||
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 1; ]
|
||||
<init> {
|
||||
}
|
||||
Reference in new issue
Block a user