X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0516e0e8ecfb57e9241d84c7e78bdbc9d29ab771..8beeef5f05e31bca568bfe0e654f8c89cd8689a6:/include/wx/fileconf.h diff --git a/include/wx/fileconf.h b/include/wx/fileconf.h index c2cf0404b1..819ea75cc5 100644 --- a/include/wx/fileconf.h +++ b/include/wx/fileconf.h @@ -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();