X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23a59c2cbe8489445b9c26dee4a77e2d20a999c2..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/palmos/prefconf.cpp diff --git a/src/palmos/prefconf.cpp b/src/palmos/prefconf.cpp index 77a84d8b80..d344e0333a 100644 --- a/src/palmos/prefconf.cpp +++ b/src/palmos/prefconf.cpp @@ -6,13 +6,9 @@ // Created: 28.12.2004 // RCS-ID: $Id$ // Copyright: (c) Wlodzimierz Skiba -// License: wxWindows licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "prefconf.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -52,7 +48,7 @@ Meaning of styles: (backed up during a HotSync operation) -Each Preference is an array of chars. First unsigned char describes +Each Preference is an array of chars. First unsigned char describes number N of chars used for Preference size. Next N chars (string) contains length of rest of Preference. Preference consists in serie of entries which should be read in loop until in reaches end of Preference. @@ -86,6 +82,7 @@ know structures of Preferences of other non wxW applications. // ---------------------------------------------------------------------------- // ctor/dtor // ---------------------------------------------------------------------------- +IMPLEMENT_ABSTRACT_CLASS(wxPrefConfig, wxConfigBase) wxPrefConfig::wxPrefConfig(const wxString& appName, const wxString& vendorName, const wxString& strLocal, const wxString& strGlobal, @@ -181,6 +178,14 @@ bool wxPrefConfig::DoReadLong(const wxString& key, long *plResult) const return false; } +#if wxUSE_BASE64 +bool wxPrefConfig::DoReadBinary(const wxString& key, wxMemoryBuffer *buf) const +{ + /* TODO */ + return false; +} +#endif // wxUSE_BASE64 + bool wxPrefConfig::DoWriteString(const wxString& key, const wxString& szValue) { /* TODO */ @@ -193,6 +198,14 @@ bool wxPrefConfig::DoWriteLong(const wxString& key, long lValue) return false; } +#if wxUSE_BASE64 +bool wxPrefConfig::DoWriteBinary(const wxString& key, const wxMemoryBuffer& buf) +{ + /* TODO */ + return false; +} +#endif // wxUSE_BASE64 + // ---------------------------------------------------------------------------- // renaming // ----------------------------------------------------------------------------