Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rework user callsign handling, load call history file at runtime #134

Conversation

w7sst
Copy link
Owner

@w7sst w7sst commented Nov 22, 2022

This refactor step is necessary to prepare for dual exchange contests, including ARRL DX Contest (part of issue #62). Previous refactoring steps are covered in PR #132 and PR #125.

Changes in this PR include:

  • after user callsign edits, SetMyCall is called.
  • SetMyCall calls Tst.OnSetMyCall which will extract any contest-specific information (e.g. in ARRL DX Contest, US/CA stations work only DX and DX works only US/CA stations).
  • call history file is now loaded after the user starts the contest using the RUN button. This simplified the reload logic in case the user callsign had changed.
  • move logic from each derived call history reader into the base class TContest.OnContestPrepareToStart function.

…ntime.

- after user callsign edits, SetMyCall is called.
- SetMyCall calls Tst.OnSetMyCall which will extract any
  contest-specific information (e.g. in ARRL DX Contest, US/CA stations
  work only DX and DX works only US/CA stations).
- call history file is now loaded after the user starts the contest
  using the RUN button. This simplified the reload logic in case the
  user callsign had changed.
- move logic from each derived call history reader into the base class
  TContest.OnContestPrepareToStart function.
@w7sst w7sst linked an issue Nov 22, 2022 that may be closed by this pull request
@w7sst w7sst self-assigned this Nov 22, 2022
@K6OK
Copy link
Collaborator

K6OK commented Nov 22, 2022

PR looks good.

@K6OK K6OK closed this Nov 22, 2022
@w7sst
Copy link
Owner Author

w7sst commented Nov 22, 2022

Reopening the PR so it can be merged.

@w7sst w7sst reopened this Nov 22, 2022
@w7sst
Copy link
Owner Author

w7sst commented Nov 22, 2022

Hi @Yagi-Berra , can you re-approve this PR, but not close it. thank you, Mike

@w7sst w7sst merged commit 64385bc into main Nov 23, 2022
@w7sst w7sst deleted the 133-refactor-rework-user-callsign-handling-call-history-file-loading branch November 23, 2022 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor - rework user callsign handling & call history file loading
3 participants