mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-01 17:34:24 +01:00
Separate plugin registry from plugin settings
This allows us to return to a clean rescan at Audacity startup if the user check rescan in prefs.
This commit is contained in:
@@ -255,17 +255,19 @@ public:
|
||||
const PluginID & RegisterLegacyEffectPlugin(EffectIdentInterface *effect);
|
||||
|
||||
private:
|
||||
bool Load();
|
||||
void Load();
|
||||
void LoadGroup(const wxChar *group, PluginType type);
|
||||
void Save();
|
||||
void SaveGroup(const wxChar *group, PluginType type);
|
||||
|
||||
void CheckForUpdates(bool forceRescan);
|
||||
void CheckForUpdates();
|
||||
void DisableMissing();
|
||||
wxArrayString IsNewOrUpdated(const wxArrayString & paths);
|
||||
|
||||
PluginDescriptor & CreatePlugin(IdentInterface *ident, PluginType type);
|
||||
|
||||
wxFileConfig *GetSettings();
|
||||
|
||||
bool GetSubgroups(const wxString & group, wxArrayString & subgroups);
|
||||
|
||||
bool GetConfig(const wxString & key, wxString & value, const wxString & defval = L"");
|
||||
@@ -298,7 +300,8 @@ private:
|
||||
|
||||
bool IsDirty();
|
||||
void SetDirty(bool dirty = true);
|
||||
wxFileConfig *mConfig;
|
||||
wxFileConfig *mRegistry;
|
||||
wxFileConfig *mSettings;
|
||||
|
||||
bool mDirty;
|
||||
int mCurrentIndex;
|
||||
|
||||
Reference in New Issue
Block a user