X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23a59c2cbe8489445b9c26dee4a77e2d20a999c2..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/palmos/prefconf.cpp diff --git a/src/palmos/prefconf.cpp b/src/palmos/prefconf.cpp index 77a84d8b80..5347007980 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,12 @@ bool wxPrefConfig::DoReadLong(const wxString& key, long *plResult) const return false; } +bool DoReadBinary(const wxString& key, wxMemoryBuffer *buf) const +{ + /* TODO */ + return false; +} + bool wxPrefConfig::DoWriteString(const wxString& key, const wxString& szValue) { /* TODO */ @@ -193,6 +196,12 @@ bool wxPrefConfig::DoWriteLong(const wxString& key, long lValue) return false; } +bool DoWriteBinary(const wxString& key, const wxMemoryBuffer& buf) +{ + /* TODO */ + return false; +} + // ---------------------------------------------------------------------------- // renaming // ----------------------------------------------------------------------------