2008-03-08 08:52:38 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: html/htmlfilt.h
|
2008-03-10 11:24:38 -04:00
|
|
|
// Purpose: interface of wxHtmlFilter
|
2008-03-08 08:52:38 -05:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxHtmlFilter
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
This class is the parent class of input filters for wxHtmlWindow.
|
|
|
|
It allows you to read and display files of different file formats.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxhtml}
|
|
|
|
@category{FIXME}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
@see Overview()
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
class wxHtmlFilter : public wxObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
Constructor.
|
|
|
|
*/
|
|
|
|
wxHtmlFilter();
|
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if this filter is capable of reading file @e file.
|
|
|
|
Example:
|
|
|
|
*/
|
|
|
|
bool CanRead(const wxFSFile& file);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Reads the file and returns string with HTML document.
|
|
|
|
Example:
|
|
|
|
*/
|
|
|
|
wxString ReadFile(const wxFSFile& file);
|
|
|
|
};
|
2008-03-10 11:24:38 -04:00
|
|
|
|