X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23f681ec4840b44e265e6f71beef5a242306220b..e5aea7214deb0443b068b1deb4a81772572d849e:/include/wx/msw/registry.h diff --git a/include/wx/msw/registry.h b/include/wx/msw/registry.h index 1161e2a285..1a6bf68fcf 100644 --- a/include/wx/msw/registry.h +++ b/include/wx/msw/registry.h @@ -144,12 +144,14 @@ public: bool Create(bool bOkIfExists = TRUE); // rename a value from old name to new one bool RenameValue(const wxChar *szValueOld, const wxChar *szValueNew); + // rename the key + bool Rename(const wxChar *szNewName); // copy value to another key possibly changing its name (by default it will // remain the same) bool CopyValue(const wxChar *szValue, wxRegKey& keyDst, const wxChar *szNewName = NULL); // copy the entire contents of the key recursively to another location - bool Copy(const wxString& strNewName); + bool Copy(const wxChar *szNewName); // same as Copy() but using a key and not the name bool Copy(wxRegKey& keyDst); // close the key (will be automatically done in dtor) @@ -180,8 +182,14 @@ public: // set the string value bool SetValue(const wxChar *szValue, const wxString& strValue); - // return the string value - bool QueryValue(const wxChar *szValue, wxString& strValue) const; + // retrieve the string value + bool QueryValue(const wxChar *szValue, wxString& strValue) const + { return QueryValue(szValue, strValue, FALSE); } + // retrieve raw string value + bool QueryRawValue(const wxChar *szValue, wxString& strValue) const + { return QueryValue(szValue, strValue, TRUE); } + // retrieve either raw or expanded string value + bool QueryValue(const wxChar *szValue, wxString& strValue, bool raw) const; #ifdef __WIN32__ // set the numeric value