package Ġcom . jon . common . prefs Ċ Ċ import Ġcom . jon . common . R Ċ import Ġcom . jon . common . ui . location . Coordinate Format Ċ Ċ object ĠCommon Prefs Ġ{ ĊĠĠĠ Ġ/* ĠCo T Ġsettings Ġ*/ ĊĠĠĠ Ġval ĠCALL SIGN Ġ= ĠPref Pair . string ( R . string . key _ call sign , ĠR . string . def _ call sign ) ĊĠĠĠ Ġval ĠTE AM _ CO LO UR Ġ= ĠPref Pair . int ( R . string . key _ team _ colour , ĠR . integer . def _ team _ colour ) ĊĠĠĠ Ġval ĠICON _ ROLE Ġ= ĠPref Pair . string ( R . string . key _ icon _ role , ĠR . string . def _ icon _ role ) ĊĠĠĠ Ġval ĠST ALE _ TIMER Ġ= ĠPref Pair . int ( R . string . key _ st ale _ timer , ĠR . integer . def _ st ale _ timer ) ĊĠĠĠ Ġval ĠTRAN SM IS SION _ PERIOD Ġ= ĠPref Pair . int ( R . string . key _ transmission _ period , ĠR . integer . def _ transmission _ period ) ĊĠĠĠ Ġval ĠTRAN SM IS SION _ PROTOCOL Ġ= ĠPref Pair . string ( R . string . key _ transmission _ protocol , ĠR . string . def _ transmission _ protocol ) ĊĊĠĠĠ Ġ/* ĠTrans mission Ġsettings Ġ*/ ĊĠĠĠ Ġval ĠDATA _ FORMAT Ġ= ĠPref Pair . string ( R . string . key _ data _ format , ĠR . string . def _ data _ format ) ĊĠĠĠ Ġval ĠSSL _ PRE SETS Ġ= ĠPref Pair . string ( R . string . key _ ssl _ presets , ĠR . string . def _ ssl _ preset ) ĊĠĠĠ Ġval ĠTCP _ PRE SETS Ġ= ĠPref Pair . string ( R . string . key _ tcp _ presets , ĠR . string . def _ tcp _ preset ) ĊĠĠĠ Ġval ĠUDP _ PRE SETS Ġ= ĠPref Pair . string ( R . string . key _ udp _ presets , ĠR . string . def _ udp _ preset ) ĊĊĠĠĠ Ġ/* ĠThese Ġare Ġnot Ġpreferences , Ġjust Ġfor Ġdisplaying Ġthe Ġcurrent Ġpreset 's Ġdetails . ĠHence Ġno Ġdefaults Ġ*/ ĊĠĠĠ Ġval ĠDEST _ ADDRESS Ġ= ĠResource Utils . getString ( R . string . key _ dest _ address ) ĊĠĠĠ Ġval ĠDEST _ PORT Ġ= ĠResource Utils . getString ( R . string . key _ dest _ port ) ĊĠĠĠ Ġval ĠEDIT _ PRE SETS Ġ= ĠResource Utils . getString ( R . string . key _ edit _ presets ) ĊĊĠĠĠ Ġ/* ĠOther Ġsettings Ġ*/ ĊĠĠĠ Ġval ĠLOG _ TO _ FILE Ġ= ĠPref Pair . bool ( R . string . key _ log _ to _ file , ĠR . bool . def _ log _ to _ file ) ĊĊĠĠĠ Ġ/* ĠP reset Ġsettings Ġ*/ ĊĠĠĠ Ġval ĠP RESET _ PROTOCOL Ġ= ĠPref Pair . string ( R . string . key _ preset _ protocol , ĠR . string . transmission _ protocol _ udp ) ĊĠĠĠ Ġval ĠP RESET _ ALIAS Ġ= ĠPref Pair . string ( R . string . key _ preset _ alias , ĠR . string . unknown ) ĊĠĠĠ Ġval ĠP RESET _ DEST INATION _ ADDRESS Ġ= ĠPref Pair . string ( R . string . key _ preset _ destination _ address , ĠR . string . blank ) ĊĠĠĠ Ġval ĠP RESET _ DEST INATION _ PORT Ġ= ĠPref Pair . string ( R . string . key _ preset _ destination _ port , ĠR . string . blank ) ĊĠĠĠ Ġval ĠP RESET _ SSL _ OPTIONS _ CATEGORY Ġ= ĠResource Utils . getString ( R . string . key _ ssl _ options _ category ) ĊĠĠĠ Ġval ĠP RESET _ SSL _ CLIENT CERT _ BYTES Ġ= ĠPref Pair . string ( R . string . key _ preset _ ssl _ client _ cert _ bytes , ĠR . string . blank ) ĊĠĠĠ Ġval ĠP RESET _ SSL _ CLIENT CERT _ PASSWORD Ġ= ĠPref Pair . string ( R . string . key _ preset _ ssl _ client _ cert _ password , ĠR . string . blank ) ĊĠĠĠ Ġval ĠP RESET _ SSL _ TR UST STORE _ BYTES Ġ= ĠPref Pair . string ( R . string . key _ preset _ ssl _ trust _ store _ bytes , ĠR . string . blank ) ĊĠĠĠ Ġval ĠP RESET _ SSL _ TR UST STORE _ PASSWORD Ġ= ĠPref Pair . string ( R . string . key _ preset _ ssl _ trust _ store _ password , ĠR . string . blank ) ĊĊĠĠĠ Ġ/* ĠUpdate ĠChecking . ĠThis Ġdoesn 't Ġreference Ġa Ġresource Ġstring Ġbecause Ġit 's Ġnot Ġused Ġin Ġany ĠXML Ġfiles Ġ*/ ĊĠĠĠ Ġval ĠIG NO RED _ UPDATE _ VERSION S Ġ= Ġ" ignored _ update _ versions " ĊĊĠĠĠ Ġ/* ĠCoordinate Ġdisplay Ġformat Ġin ĠLocation Fragment Ġ*/ ĊĠĠĠ Ġval ĠLOC ATION _ COORD IN ATE _ FORMAT Ġ= ĠPref Pair . string (" location _ coordinate _ display ", ĠCoordinate Format . DD . name ) Ċ } Ċ