X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dad9554b4c84a548cf358f829f17a213df6a5382..acf8e3d29e897ade2087e3d9048e5c448823d391:/include/wx/html/htmlfilt.h diff --git a/include/wx/html/htmlfilt.h b/include/wx/html/htmlfilt.h index 975461d50a..4f49f9f8c7 100644 --- a/include/wx/html/htmlfilt.h +++ b/include/wx/html/htmlfilt.h @@ -11,7 +11,7 @@ #ifndef _WX_HTMLFILT_H_ #define _WX_HTMLFILT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "htmlfilt.h" #endif @@ -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