]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/prefconf.h
Fix compilation of wxIconBundle in some particular minimal builds.
[wxWidgets.git] / include / wx / palmos / prefconf.h
index ba756045c2f208a4b5a0d2c6e79d3bf3cc341b35..dabcaef369e0c3f40d83ba688ac226db1ff8f9cc 100644 (file)
 #ifndef _PREFCONF_H_
 #define _PREFCONF_H_
 
+#include "wx/defs.h"
+
+#if wxUSE_CONFIG
+
 // ----------------------------------------------------------------------------
 // wxPrefConfig
 // ----------------------------------------------------------------------------
@@ -67,9 +71,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:
   // current path (not '/' terminated)
@@ -81,9 +87,10 @@ private:
   // current group modified ?
   bool m_modGroup;
 
-  DECLARE_NO_COPY_CLASS(wxPrefConfig)
+  wxDECLARE_NO_COPY_CLASS(wxPrefConfig);
   DECLARE_ABSTRACT_CLASS(wxPrefConfig)
 };
 
-#endif // _PREFCONF_H_
+#endif // wxUSE_CONFIG
 
+#endif // _PREFCONF_H_