- bool Open();
- // create the key: will fail if the key already exists and bOkIfExists
- bool Create(bool bOkIfExists = TRUE);
+ bool Open(AccessMode mode = Write);
+ // create the key: will fail if the key already exists and !bOkIfExists
+ bool Create(bool bOkIfExists = true);
+ // rename a value from old name to new one
+ bool RenameValue(const wxString& szValueOld, const wxString& szValueNew);
+ // rename the key
+ bool Rename(const wxString& szNewName);
+ // copy value to another key possibly changing its name (by default it will
+ // remain the same)
+ bool CopyValue(const wxString& szValue, wxRegKey& keyDst,
+ const wxString& szNewName = wxEmptyString);
+
+ // copy the entire contents of the key recursively to another location
+ bool Copy(const wxString& szNewName);
+ // same as Copy() but using a key and not the name
+ bool Copy(wxRegKey& keyDst);