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

Basic preference system infrastructure #120

Merged
merged 12 commits into from
Jun 23, 2020
Merged

Basic preference system infrastructure #120

merged 12 commits into from
Jun 23, 2020

Conversation

nshcat
Copy link
Collaborator

@nshcat nshcat commented Jun 23, 2020

This PR implements:

  • The Preference class, which holds a single preference value and its metadata in form a sum type
  • The PreferenceManager class which
    • Manages and stores all known preferences
    • Initializes them with default values
    • Path handling and creation for both Windows and POSIX
    • Loads existing values from disk
    • Provides facilities to retrieve values by their identifier
    • Allows saving of preferences back to disk
  • Basic integration into OscilloscopeWindow

@nshcat nshcat merged commit 31f5e72 into gui-dev Jun 23, 2020
@nshcat nshcat deleted the preferences-base branch June 23, 2020 13:24
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.

None yet

1 participant