added wxTextBuffer and wxMemoryText which allow to use wxTextFile with in-memory data

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-11-14 20:40:20 +00:00
parent 00ca6262d1
commit a3a584a7a6
37 changed files with 1560 additions and 1112 deletions

View File

@@ -121,6 +121,11 @@ public:
const wxString& globalFilename = wxT(""),
long style = wxCONFIG_USE_LOCAL_FILE);
#if wxUSE_STREAMS
// ctor that takes an input stream.
wxFileConfig(wxInputStream &inStream);
#endif // wxUSE_STREAMS
// dtor will save unsaved data
virtual ~wxFileConfig();
@@ -210,7 +215,7 @@ private:
void CleanUp();
// parse the whole file
void Parse(wxTextFile& file, bool bLocal);
void Parse(wxTextBuffer& buffer, bool bLocal);
// the same as SetPath("/")
void SetRootPath();