File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ message CameraSettings {
9797}
9898
9999message BoothSettings {
100+ required BoolSetting new_test_setting = 1 ;
100101 required ListSetting language_choice = 5 ;
101102
102103 required BoolSetting storage_enabled = 10 ;
Original file line number Diff line number Diff line change 1111 "cameraName" : " Kamera-Modell"
1212 },
1313 "booth" : {
14+ "newTestSetting" : " Hallo @maehw!" ,
1415 "languageChoice" : " Anzeigesprache" ,
1516 "storageEnabled" : " USB-Speicher aktivieren?" ,
1617 "printerEnabled" : " Drucker aktivieren?" ,
Original file line number Diff line number Diff line change 1111 "cameraName" : " Camera Name"
1212 },
1313 "booth" : {
14+ "newTestSetting" : " Hi @maehw!" ,
1415 "languageChoice" : " Display Language" ,
1516 "storageEnabled" : " USB Storage Enabled?" ,
1617 "printerEnabled" : " Printer Enabled?" ,
Original file line number Diff line number Diff line change @@ -613,6 +613,14 @@ bool BoothApi::start() {
613613
614614 auto controller = logic->getSelfomatController ();
615615
616+ {
617+ auto setting = currentBoothSettings.mutable_new_test_setting ();
618+ setting->set_name (locale.get <string>(" api.booth.newTestSetting" ));
619+ setting->set_update_url (" /booth_settings/new_test_setting" );
620+ // TODO: return actual value here ;-)
621+ setting->set_currentvalue (true );
622+ }
623+
616624 {
617625 auto setting = currentBoothSettings.mutable_language_choice ();
618626 setting->set_name (locale.get <string>(" api.booth.languageChoice" ));
You can’t perform that action at this time.
0 commit comments