git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73839
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual void SetParser(wxHtmlParser *parser)
{ m_Parser = parser; }
virtual void SetParser(wxHtmlParser *parser)
{ m_Parser = parser; }
+ virtual wxHtmlParser* GetParser() const
+ { return m_Parser; }
+
// Returns list of supported tags. The list is in uppercase and
// tags are delimited by ','.
// Example : "I,B,FONT,P"
// Returns list of supported tags. The list is in uppercase and
// tags are delimited by ','.
// Example : "I,B,FONT,P"
wxHtmlWinTagHandler() : wxHtmlTagHandler() {}
virtual void SetParser(wxHtmlParser *parser) {wxHtmlTagHandler::SetParser(parser); m_WParser = (wxHtmlWinParser*) parser;}
wxHtmlWinTagHandler() : wxHtmlTagHandler() {}
virtual void SetParser(wxHtmlParser *parser) {wxHtmlTagHandler::SetParser(parser); m_WParser = (wxHtmlWinParser*) parser;}
+ virtual wxHtmlWinParser* GetParser() const { return (wxHtmlWinParser*)m_Parser; }
protected:
wxHtmlWinParser *m_WParser; // same as m_Parser, but overcasted
protected:
wxHtmlWinParser *m_WParser; // same as m_Parser, but overcasted
/**
Assigns @a parser to this handler. Each @b instance of handler
/**
Assigns @a parser to this handler. Each @b instance of handler
- is guaranteed to be called only from the parser.
+ is guaranteed to be called only from the one parser.
*/
virtual void SetParser(wxHtmlParser* parser);
*/
virtual void SetParser(wxHtmlParser* parser);
+ /**
+ Returns the parser associated with this tag handler.
+ */
+ virtual wxHtmlParser* GetParser() const;
+
+
*/
class wxHtmlWinTagHandler : public wxHtmlTagHandler
{
*/
class wxHtmlWinTagHandler : public wxHtmlTagHandler
{
+public:
+ /**
+ 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);
+
+ /**
+ Returns the parser associated with this tag handler.
+ */
+ virtual wxHtmlWinParser* GetParser() const;
+
protected:
/**
Value of this attribute is identical to value of m_Parser.
protected:
/**
Value of this attribute is identical to value of m_Parser.