From 5a96f6be9c63505e6d5e99570b452a2597a67f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 10 Nov 2002 23:58:51 +0000 Subject: [PATCH] moved wxHtmlFilterHTML to public header, so that it can be used elsewhere git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/html/htmlfilt.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/wx/html/htmlfilt.h b/include/wx/html/htmlfilt.h index 57c5b47187..4f49f9f8c7 100644 --- a/include/wx/html/htmlfilt.h +++ b/include/wx/html/htmlfilt.h @@ -65,6 +65,20 @@ public: virtual wxString ReadFile(const wxFSFile& file) const; }; +//-------------------------------------------------------------------------------- +// wxHtmlFilterHTML +// filter for text/html +//-------------------------------------------------------------------------------- + +class wxHtmlFilterHTML : public wxHtmlFilter +{ + DECLARE_DYNAMIC_CLASS(wxHtmlFilterHTML) + + public: + virtual bool CanRead(const wxFSFile& file) const; + virtual wxString ReadFile(const wxFSFile& file) const; +}; + #endif // wxUSE_HTML