X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..c9ccc09c64f4c29d4667796bef7b507d9e8d25ed:/include/wx/palmos/prefconf.h diff --git a/include/wx/palmos/prefconf.h b/include/wx/palmos/prefconf.h index e5f7f4104a..537808c4c4 100644 --- a/include/wx/palmos/prefconf.h +++ b/include/wx/palmos/prefconf.h @@ -6,12 +6,16 @@ // Created: 28.12.2004 // RCS-ID: $Id$ // Copyright: (c) Wlodzimierz Skiba -// License: wxWindows licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _PREFCONF_H_ #define _PREFCONF_H_ +#include "wx/defs.h" + +#if wxUSE_CONFIG + // ---------------------------------------------------------------------------- // wxPrefConfig // ---------------------------------------------------------------------------- @@ -67,15 +71,13 @@ 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: - // no copy ctor/assignment operator - wxPrefConfig(const wxPrefConfig&); - wxPrefConfig& operator=(const wxPrefConfig&); - // current path (not '/' terminated) wxString m_strPath; @@ -84,7 +86,11 @@ private: // current group modified ? bool m_modGroup; + + wxDECLARE_NO_COPY_CLASS(wxPrefConfig); + DECLARE_ABSTRACT_CLASS(wxPrefConfig) }; -#endif // _PREFCONF_H_ +#endif // wxUSE_CONFIG +#endif // _PREFCONF_H_