Configurable TC version/locale settings from PR #47#55
Conversation
…ionPayload exchange from PR #47 - Settings: add get/set_tc_version, get/set_language_code, get/set_country_code with JSON persistence - MyTCServer: accept configurable TaskControllerVersion (default SecondEditionDraft) - app: initialize tcFunctionalities announcing TC-BAS + TC-SC (1 boom / 64 sections) - app: create tcServer with version and locale from settings - app: drive bidirectional VersionPayload exchange via ProcessData PGN callback
|
@copilot please implement the changes requested in the review / comments |
…p comments per review
Done. All requested changes are addressed in commit
All |
gunicsba
left a comment
There was a problem hiding this comment.
Changes look good it should make the Task Controller more flexible this way.
Extracts the configurable TC version/locale settings from PR #47 into a focused, production-ready change.
Settings (
settings.hpp/settings.cpp)get/set_tc_version()— maps 0–4 toTaskControllerVersionenum; default3(SecondEditionDraft) for maximum implement compatibilityget/set_language_code()andget/set_country_code()— defaults"en"/"US"settings.jsonTC Server (
task_controller.hpp/task_controller.cpp)MyTCServerconstructor now accepts an optionalTaskControllerVersionparameter (default:SecondEditionDraft, preserving backward compatibility)Application (
app.hpp/app.cpp)tcServeris created with the version and locale read from settings instead of hardcoded valuesExplicitly excluded from this PR: TC status burst, tcFunctionalities capability announcement, VersionPayload exchange, debug/logging scaffolding, directory archival changes.
Original prompt
This pull request was created from Copilot chat.