X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71ada1a5fbecf774be6cb7ab7421a8f784d6c84c..08b97268061292f7c3794dae243a6490b23a42f1:/utils/configtool/src/htmlparser.h?ds=sidebyside diff --git a/utils/configtool/src/htmlparser.h b/utils/configtool/src/htmlparser.h index 486b2f0c3e..de9ebc610c 100644 --- a/utils/configtool/src/htmlparser.h +++ b/utils/configtool/src/htmlparser.h @@ -12,10 +12,6 @@ #ifndef _HTMLPARSER_H_ #define _HTMLPARSER_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "htmlparser.cpp" -#endif - //#include "wx/module.h" #include "wx/stream.h" @@ -172,11 +168,11 @@ public: bool EatWhitespace(); // Throw away whitespace bool EatWhitespace(int& pos); // Throw away whitespace: using 'pos' - bool ReadString(wxString& str, bool eatIt = FALSE); - bool ReadWord(wxString& str, bool eatIt = FALSE); - bool ReadNumber(wxString& str, bool eatIt = FALSE); + bool ReadString(wxString& str, bool eatIt = false); + bool ReadWord(wxString& str, bool eatIt = false); + bool ReadNumber(wxString& str, bool eatIt = false); // Could be number, string, whatever, but read up until whitespace. - bool ReadLiteral(wxString& str, bool eatIt = FALSE); + bool ReadLiteral(wxString& str, bool eatIt = false); bool IsComment(); bool IsDirective(); @@ -190,9 +186,9 @@ public: bool IsAlpha(int ch); bool IsWordChar(int ch); bool IsNumeric(int ch); - // Check if a specific tag needs a close tag. If not this function should return FALSE. + // Check if a specific tag needs a close tag. If not this function should return false. // If no close tag is needed the result will be that the tag will be insert in a none - // hierarchical way. i.e. if the function would return FALSE all the time we would get + // hierarchical way. i.e. if the function would return false all the time we would get // a flat list of all tags (like it used to be previously). virtual bool IsCloseTagNeeded(const wxString &name); @@ -206,7 +202,7 @@ public: static wxString EncodeSpecialChars(const wxString &value); // Matches this string (case insensitive) - bool Matches(const wxString& tok, bool eatIt = FALSE) ; + bool Matches(const wxString& tok, bool eatIt = false) ; bool Eof() const { return (m_pos >= m_length); } bool Eof(int pos) const { return (pos >= m_length); }