#define __HTMLFILTER_H__
#ifdef __GNUG__
-#pragma interface
+#pragma interface "htmlfilter.h"
#endif
#include "wx/defs.h"
+
#if wxUSE_HTML
-#include <wx/filesys.h>
+#include "wx/filesys.h"
//--------------------------------------------------------------------------------
public:
wxHtmlFilter() : wxObject() {}
- virtual bool CanRead(const wxFSFile& file) = 0;
+ virtual bool CanRead(const wxFSFile& file) const = 0;
// returns TRUE if this filter is able to open&read given file
- virtual wxString ReadFile(const wxFSFile& file) = 0;
+ virtual wxString ReadFile(const wxFSFile& file) const = 0;
// reads given file and returns HTML document.
// Returns empty string if opening failed
};
DECLARE_DYNAMIC_CLASS(wxHtmlFilterPlainText)
public:
- virtual bool CanRead(const wxFSFile& file);
- virtual wxString ReadFile(const wxFSFile& file);
+ virtual bool CanRead(const wxFSFile& file) const;
+ virtual wxString ReadFile(const wxFSFile& file) const;
};