12#ifndef __AUDACITY_FILE_CONFIG__
13#define __AUDACITY_FILE_CONFIG__
16#include <wx/fileconf.h>
23 static std::unique_ptr<AudacityFileConfig> Create(
24 const wxString& appName = {},
25 const wxString& vendorName = {},
26 const wxString& localFilename = {},
27 const wxString& globalFilename = {},
28 long style = wxCONFIG_USE_LOCAL_FILE | wxCONFIG_USE_GLOBAL_FILE,
29 const wxMBConv& conv = wxConvAuto()
32 bool Flush(
bool bCurrentOnly)
override;
36 bool RenameEntry(
const wxString& oldName,
const wxString& newName)
override;
37 bool RenameGroup(
const wxString& oldName,
const wxString& newName)
override;
38 bool DeleteEntry(
const wxString&
key,
bool bDeleteGroupIfEmpty)
override;
39 bool DeleteGroup(
const wxString&
key)
override;
40 bool DeleteAll()
override;
43 bool DoWriteString(
const wxString&
key,
const wxString& szValue)
override;
44 bool DoWriteLong(
const wxString&
key,
long lValue)
override;
46 bool DoWriteBinary(
const wxString&
key,
const wxMemoryBuffer& buf)
override;
52 const wxString& appName,
53 const wxString& vendorName,
54 const wxString& localFilename,
55 const wxString& globalFilename,
Our own specialisation of FileConfig.
const wxString mLocalFilename