added support for binary data to wxConfig (slightly modified patch 1736788)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-12 00:11:03 +00:00
parent 84ebfcbd18
commit 5814e8ba4e
11 changed files with 136 additions and 0 deletions

View File

@@ -78,9 +78,11 @@ protected:
// read/write
bool DoReadString(const wxString& key, wxString *pStr) const;
bool DoReadLong(const wxString& key, long *plResult) const;
bool DoReadBinary(const wxString& key, wxMemoryBuffer *buf) const;
bool DoWriteString(const wxString& key, const wxString& szValue);
bool DoWriteLong(const wxString& key, long lValue);
bool DoWriteBinary(const wxString& key, const wxMemoryBuffer& buf);
private:
// helpers