[chronojump] New chronojump_config.txt "Raspberry"
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] New chronojump_config.txt "Raspberry"
- Date: Wed, 15 Jul 2020 11:10:46 +0000 (UTC)
commit 873402eecd59248ad5a48121c905d0889dbcb7a1
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jul 15 11:33:29 2020 +0200
New chronojump_config.txt "Raspberry"
src/config.cs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/config.cs b/src/config.cs
index 9393a094..a302883e 100644
--- a/src/config.cs
+++ b/src/config.cs
@@ -51,6 +51,7 @@ public class Config
public bool Exhibition; //like YOMO. does not have rfid capture, user autologout management, and
automatic configuration of gui
public ExhibitionTest.testTypes ExhibitionStationType;
+ public bool Raspberry;
/*
* unused because the default serverURL chronojump.org is ok:
* public string ExhibitionServerURL = "";
@@ -95,7 +96,7 @@ public class Config
if(parts.Length != 2)
continue;
- if(parts[0] == "Compujump" && Util.StringToBool(parts[1]))
+ if(parts[0] == "Compujump" && Util.StringToBool(parts[1]))
//Compujump is related to networks (usually the big screens)
Compujump = true;
else if(parts[0] == "CompujumpDjango" && Util.StringToBool(parts[1]))
CompujumpDjango = true;
@@ -128,6 +129,8 @@ public class Config
else if(parts[0] == "ExhibitionStationID" && parts[1] != "" &&
Util.IsNumber(parts[1], false))
ExhibitionStationID = Convert.ToInt32(parts[1]);
*/
+ if(parts[0] == "Raspberry" && Util.StringToBool(parts[1]))
//Raspberry: small screens, could be networks or not. They are usually disconnected by cable removal, so do
not show send log at start
+ Raspberry = true;
} while(true);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]