X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bddd46dde044ccb04952e027b4ec27bb1251bba..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/html/winpars.h diff --git a/interface/wx/html/winpars.h b/interface/wx/html/winpars.h index 4a2f2aed36..6e7d0158fa 100644 --- a/interface/wx/html/winpars.h +++ b/interface/wx/html/winpars.h @@ -2,8 +2,7 @@ // Name: html/winpars.h // Purpose: interface of wxHtmlTagsModule // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -50,6 +49,18 @@ public: */ class wxHtmlWinTagHandler : public wxHtmlTagHandler { +public: + /** + Constructor. + */ + wxHtmlWinTagHandler(); + + /** + Assigns @a parser to this handler. Each @b instance of handler + is guaranteed to be called only from the one parser. + */ + virtual void SetParser(wxHtmlWinParser* parser); + protected: /** Value of this attribute is identical to value of m_Parser. @@ -78,21 +89,19 @@ protected: class wxHtmlWinParser : public wxHtmlParser { public: - wxHtmlWinParser(); - /** Constructor. - Don't use the default one, use constructor with @a wndIface parameter + Don't use the default one, use the constructor with @a wndIface parameter (@a wndIface is a pointer to interface object for the associated wxHtmlWindow or other HTML rendering window such as wxHtmlListBox). */ - wxHtmlWinParser(wxHtmlWindowInterface wndIface); + wxHtmlWinParser(wxHtmlWindowInterface* wndIface = NULL); /** Adds module() to the list of wxHtmlWinParser tag handler. */ - static void AddModule(wxHtmlTagsModule module); + static void AddModule(wxHtmlTagsModule* module); /** Closes the container, sets actual container to the parent one @@ -216,8 +225,8 @@ public: (You should always test if it is non-@NULL. For example @c TITLE handler sets window title only if some window is associated, otherwise it does nothing. - */ - wxHtmlWindow* GetWindow(); + */ + wxHtmlWindowInterface* GetWindowInterface(); /** Opens new container and returns pointer to it (see @ref overview_html_cells).