Add wxFilterClassFactory::PopExtension().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-10-26 22:43:15 +00:00
parent 12811c1c3b
commit a8d2cf4e70
2 changed files with 27 additions and 14 deletions

View File

@@ -346,6 +346,7 @@ public:
virtual wxFilterOutputStream *NewStream(wxOutputStream *stream) const = 0;
wxString GetProtocol() const { return wxString(*GetProtocols()); }
wxString PopExtension(const wxString& location) const;
virtual const wxChar * const *GetProtocols(wxStreamProtocolType type
= wxSTREAM_PROTOCOL) const = 0;
@@ -370,6 +371,8 @@ protected:
wxFilterClassFactory& operator=(const wxFilterClassFactory&)
{ return *this; }
wxString::size_type FindExtension(const wxChar *location) const;
private:
static wxFilterClassFactory *sm_first;
wxFilterClassFactory *m_next;