// Name: html/winpars.h
// Purpose: interface of wxHtmlTagsModule
// Author: wxWidgets team
-// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
*/
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.
class wxHtmlWinParser : public wxHtmlParser
{
public:
- wxHtmlWinParser(wxHtmlWindowInterface* wndIface = 0);
-
/**
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 = 0);
+ 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
(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).