]>
Commit | Line | Data |
---|---|---|
23324ae1 FM |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: html/htmlfilt.h | |
e54c96f1 | 3 | // Purpose: interface of wxHtmlFilter |
23324ae1 FM |
4 | // Author: wxWidgets team |
5 | // RCS-ID: $Id$ | |
6 | // Licence: wxWindows license | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | /** | |
10 | @class wxHtmlFilter | |
7c913512 | 11 | |
23324ae1 FM |
12 | This class is the parent class of input filters for wxHtmlWindow. |
13 | It allows you to read and display files of different file formats. | |
7c913512 | 14 | |
23324ae1 FM |
15 | @library{wxhtml} |
16 | @category{FIXME} | |
7c913512 | 17 | |
e54c96f1 | 18 | @see Overview() |
23324ae1 FM |
19 | */ |
20 | class wxHtmlFilter : public wxObject | |
21 | { | |
22 | public: | |
23 | /** | |
24 | Constructor. | |
25 | */ | |
26 | wxHtmlFilter(); | |
27 | ||
28 | /** | |
29 | Returns @true if this filter is capable of reading file @e file. | |
23324ae1 FM |
30 | Example: |
31 | */ | |
da1ed74c | 32 | virtual bool CanRead(const wxFSFile& file) const = 0; |
23324ae1 FM |
33 | |
34 | /** | |
35 | Reads the file and returns string with HTML document. | |
23324ae1 FM |
36 | Example: |
37 | */ | |
da1ed74c | 38 | virtual wxString ReadFile(const wxFSFile& file) const = 0; |
23324ae1 | 39 | }; |
e54c96f1 | 40 |