X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4ec0ce8205de4659f1e52d16480b5c025ebc41e..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/msw/iniconf.h diff --git a/include/wx/msw/iniconf.h b/include/wx/msw/iniconf.h index 948825de34..5eca7ba7af 100644 --- a/include/wx/msw/iniconf.h +++ b/include/wx/msw/iniconf.h @@ -9,8 +9,10 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifndef _INICONF_H -#define _INICONF_H +#ifndef _WX_MSW_INICONF_H_ +#define _WX_MSW_INICONF_H_ + +#if wxUSE_INICONF // ---------------------------------------------------------------------------- // wxIniConfig is a wxConfig implementation which uses MS Windows INI files to @@ -78,9 +80,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 @@ -95,4 +99,6 @@ private: DECLARE_ABSTRACT_CLASS(wxIniConfig) }; -#endif //_INICONF_H +#endif // wxUSE_INICONF + +#endif //_WX_MSW_INICONF_H_