ApplicationSettings are persistent settings shared by all plugin instances. More...
Inherits ChangeBroadcaster, Timer, and Listener.
Public Member Functions | |
ApplicationSettings () | |
~ApplicationSettings () override | |
void | setFileName (juce::File file) |
Public Attributes | |
juce::ValueTree | settings { "Settings" } |
The settings tree is used to hang in your settings trees. More... | |
ApplicationSettings are persistent settings shared by all plugin instances.
They are hierarchically ordered in a ValueTree and loaded via SharedResourcePointer, so they don't exist duplicated in one process.
References ApplicationSettings::settings.
|
override |
References ApplicationSettings::settings.
void setFileName | ( | juce::File | file | ) |
juce::ValueTree settings { "Settings" } |
The settings tree is used to hang in your settings trees.
The whole tree is stored. It is synchronised instead of replaced on load, so it is safe to add yourself as ValueTree::Listener.
Referenced by ApplicationSettings::ApplicationSettings(), and ApplicationSettings::~ApplicationSettings().