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:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "wx/object.h"
|
||||
#include "wx/confbase.h"
|
||||
#include "buffer.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxRegConfig
|
||||
@@ -90,9 +91,11 @@ protected:
|
||||
// implement read/write methods
|
||||
virtual bool DoReadString(const wxString& key, wxString *pStr) const;
|
||||
virtual bool DoReadLong(const wxString& key, long *plResult) const;
|
||||
virtual bool DoReadBinary(const wxString& key, wxMemoryBuffer* buf) const;
|
||||
|
||||
virtual bool DoWriteString(const wxString& key, const wxString& szValue);
|
||||
virtual bool DoWriteLong(const wxString& key, long lValue);
|
||||
virtual bool DoWriteBinary(const wxString& key, const wxMemoryBuffer& buf);
|
||||
|
||||
private:
|
||||
// these keys are opened during all lifetime of wxRegConfig object
|
||||
|
Reference in New Issue
Block a user