X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23a59c2cbe8489445b9c26dee4a77e2d20a999c2..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/palmos/prefconf.h diff --git a/include/wx/palmos/prefconf.h b/include/wx/palmos/prefconf.h index 59f99cd160..dabcaef369 100644 --- a/include/wx/palmos/prefconf.h +++ b/include/wx/palmos/prefconf.h @@ -12,9 +12,9 @@ #ifndef _PREFCONF_H_ #define _PREFCONF_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "prefconf.h" -#endif +#include "wx/defs.h" + +#if wxUSE_CONFIG // ---------------------------------------------------------------------------- // wxPrefConfig @@ -71,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; @@ -88,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_