added wxFileConfig::Save(stream); documented it in new, separate from wxConfig, wxFileConfig doc file (replaces patches 902372 and 900889)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-10-03 22:55:08 +00:00
parent e1cc687422
commit a121d72052
6 changed files with 160 additions and 15 deletions

View File

@@ -164,6 +164,14 @@ public:
virtual bool DeleteGroup(const wxString& szKey);
virtual bool DeleteAll();
// additional, wxFileConfig-specific, functionality
#if wxUSE_STREAMS
// save the entire config file text to the given stream, note that the text
// won't be saved again in dtor when Flush() is called if you use this method
// as it won't be "changed" any more
virtual bool Save(wxOutputStream& os, wxMBConv& conv = wxConvUTF8);
#endif // wxUSE_STREAMS
public:
// functions to work with this list
wxFileConfigLineList *LineListAppend(const wxString& str);