git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9930
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#define _WX_HTMLFILT_H_
#ifdef __GNUG__
#define _WX_HTMLFILT_H_
#ifdef __GNUG__
+#pragma interface "htmlfilt.h"
#endif
#include "wx/defs.h"
#endif
#include "wx/defs.h"
{
DECLARE_ABSTRACT_CLASS(wxHtmlFilter)
{
DECLARE_ABSTRACT_CLASS(wxHtmlFilter)
- public:
- wxHtmlFilter() : wxObject() {}
-#ifdef __WXMAC_X__
- virtual ~wxHtmlFilter() {}
-#endif
+public:
+ wxHtmlFilter() : wxObject() {}
+ virtual ~wxHtmlFilter() {}
- virtual bool CanRead(const wxFSFile& file) const = 0;
- // returns TRUE if this filter is able to open&read given file
+ // returns TRUE if this filter is able to open&read given file
+ virtual bool CanRead(const wxFSFile& file) const = 0;
- virtual wxString ReadFile(const wxFSFile& file) const = 0;
- // reads given file and returns HTML document.
- // Returns empty string if opening failed
+ // Reads given file and returns HTML document.
+ // Returns empty string if opening failed
+ virtual wxString ReadFile(const wxFSFile& file) const = 0;
{
DECLARE_DYNAMIC_CLASS(wxHtmlFilterPlainText)
{
DECLARE_DYNAMIC_CLASS(wxHtmlFilterPlainText)
- public:
- virtual bool CanRead(const wxFSFile& file) const;
- virtual wxString ReadFile(const wxFSFile& file) const;
+public:
+ virtual bool CanRead(const wxFSFile& file) const;
+ virtual wxString ReadFile(const wxFSFile& file) const;
#endif // _WX_HTMLFILT_H_
#endif // _WX_HTMLFILT_H_