X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23a59c2cbe8489445b9c26dee4a77e2d20a999c2..9a6aafe0039fef580ca1bfcf0e87c1ba8e2953ba:/src/palmos/prefconf.cpp diff --git a/src/palmos/prefconf.cpp b/src/palmos/prefconf.cpp index 77a84d8b80..6bb8b54f99 100644 --- a/src/palmos/prefconf.cpp +++ b/src/palmos/prefconf.cpp @@ -9,10 +9,6 @@ // License: 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 // ----------------------------------------------------------------------------