[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Application,1,14,25]; ] import Toybox.Application; [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [Lang,2,14,18]; ] import Toybox.Lang; [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [WatchUi,3,14,21]; ] import Toybox.WatchUi; [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 5; @symbol_classdef = [hockeyTimerApp,5,6,20]; @symbol_extends<0> = [Application,5,29,40]; @symbol_extends<1> = [AppBase,5,41,48]; ] class hockeyTimerApp extends Application.AppBase { [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 5; ] { } [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 5; ] static { } [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 7; @symbol_functiondef = [initialize,7,13,23]; ] function initialize() as Void { _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_7_26_9_4_start: [ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 8 8 ] symbol [ AppBase %tmp.2 8 8 15 ]; %tmp.2 = getv ? :AppBase; symbol [ initialize %tmp.3 8 16 26 ]; %tmp.3 = getv function %tmp.2 :initialize; invoke %tmp.2 %tmp.3(); _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_7_26_9_4_stop: } [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 11; @symbol_functiondef = [onStart,11,13,20]; @symbol_param<0> = [state,11,21,26]; @symbol_param<0>_type<0> = [Dictionary,11,30,40]; ] function onStart(state as Dictionary or Null) as Void { _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_11_51_13_4_start: [ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 12 8 ] %tmp.1 = self; symbol [ reloadSettings %tmp.2 12 8 22 ]; %tmp.2 = getv function %tmp.1 :reloadSettings; invoke %tmp.1 %tmp.2(); _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_11_51_13_4_stop: } [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 15; @symbol_functiondef = [onStop,15,13,19]; @symbol_param<0> = [state,15,20,25]; @symbol_param<0>_type<0> = [Dictionary,15,29,39]; ] function onStop(state as Dictionary or Null) as Void { } [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 18; @symbol_functiondef = [getInitialView,18,13,27]; @symbol_return<0> = [Views,18,34,39]; @symbol_return<1> = [Views,18,45,50]; @symbol_return<2> = [InputDelegates,18,52,66]; ] function getInitialView() as [Views] or [Views, InputDelegates] { _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_18_68_20_4_start: [ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 19 8 ] %tmp.1 = newa 2; symbol [ mainView %tmp.5 19 20 28 ]; %tmp.5 = getv ? :mainView; %tmp.2 = newc %tmp.5 (); %tmp.6 = dup %tmp.1; %tmp.7 = aputv %tmp.6 0 %tmp.2; symbol [ mainDelegate %tmp.11 19 36 48 ]; %tmp.11 = getv ? :mainDelegate; %tmp.8 = newc %tmp.11 (); %tmp.12 = dup %tmp.7; %tmp.13 = aputv %tmp.12 1 %tmp.8; ret %tmp.13; _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_18_68_20_4_stop: } [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 22; @symbol_functiondef = [onSettingsChanged,22,13,30]; ] function onSettingsChanged() as Void { _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_22_41_24_4_start: [ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 23 8 ] %tmp.1 = self; symbol [ reloadSettings %tmp.2 23 8 22 ]; %tmp.2 = getv function %tmp.1 :reloadSettings; invoke %tmp.1 %tmp.2(); _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_22_41_24_4_stop: } } [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 26; @symbol_functiondef = [reloadSettings,26,16,30]; ] function reloadSettings() as Void { _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_26_40_32_0_start: [ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 27 4 ] [ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_26_40_32_0_start" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_26_40_32_0_stop" ] %s.1 = local; symbol [ s %s.1 27 8 9 ]; symbol [ Application %tmp.1 27 12 23 ]; %tmp.1 = getm $.Toybox.Application; symbol [ Properties %tmp.2 27 24 34 ]; %tmp.2 = getv %tmp.1 :Properties; symbol [ getValue %tmp.3 27 35 43 ]; %tmp.3 = getv function %tmp.2 :getValue; %tmp.4 = "color_theme"; %tmp.5 = invoke %tmp.2 %tmp.3(%tmp.4); %tmp.6 = as %tmp.5 Number; symbol [ Number %tmp.6 27 62 68 ]; lputv %s.1 %tmp.6; symbol [ s %s.1 27 8 9 ]; [ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 29 4 ] %tmp.7 = self; symbol [ setColourTheme %tmp.8 29 4 18 ]; %tmp.8 = getv function %tmp.7 :setColourTheme; %tmp.9 = lgetv %s.1; symbol [ s %tmp.9 29 19 20 ]; invoke %tmp.7 %tmp.8(%tmp.9); [ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 30 4 ] symbol [ WatchUi %tmp.10 30 4 11 ]; %tmp.10 = getm $.Toybox.WatchUi; symbol [ requestUpdate %tmp.11 30 12 25 ]; %tmp.11 = getv function %tmp.10 :requestUpdate; invoke %tmp.10 %tmp.11(); _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_26_40_32_0_stop: } [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 33; @symbol_functiondef = [getApp,33,9,15]; @symbol_return<0> = [hockeyTimerApp,33,21,35]; ] function getApp() as hockeyTimerApp { _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_33_36_35_0_start: [ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc" 34 4 ] symbol [ Application %tmp.1 34 11 22 ]; %tmp.1 = getm $.Toybox.Application; symbol [ getApp %tmp.2 34 23 29 ]; %tmp.2 = getv function %tmp.1 :getApp; %tmp.3 = invoke %tmp.1 %tmp.2(); %tmp.4 = as %tmp.3 hockeyTimerApp; symbol [ hockeyTimerApp %tmp.4 34 35 49 ]; ret %tmp.4; _home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appMain_mc_33_36_35_0_stop: } [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appMain.mc"; @line = 1; ] { }