X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c8756b04ca1f38ab8cc988e6d0577f668a88bb7..6ce8b8484654b5ab073951373c93d9bdd8221881:/contrib/utils/convertrc/rc2xml.h diff --git a/contrib/utils/convertrc/rc2xml.h b/contrib/utils/convertrc/rc2xml.h index 0b53937bff..e4d458059d 100644 --- a/contrib/utils/convertrc/rc2xml.h +++ b/contrib/utils/convertrc/rc2xml.h @@ -6,11 +6,11 @@ #define RC2XML_H #include "wx/file.h" -#include -#include +#include "wx/ffile.h" +#include "wx/list.h" -class rc2xml : public wxObject +class rc2xml : public wxObject { public: wxString m_workingpath; @@ -22,8 +22,8 @@ public: ~rc2xml(); protected: - wxString LookUpId(wxString id); - + wxString LookUpId(wxString id); + void ParseResourceHeader(); void WriteBitmap(wxString bitmapname); void ParseListCtrl(wxString label,wxString varname); @@ -37,7 +37,7 @@ protected: wxList * m_iconlist; void ParseIconStatic(); void ParseMenuItem(); - + //Functions bool SplitHelp(wxString msg, wxString &shorthelp, wxString &longhelp); bool LookUpString(wxString strid,wxString & st); @@ -58,10 +58,10 @@ protected: void ParseRadioButton(wxString phrase,wxString varname); void ParseCheckBox(wxString phrase,wxString varname); void ParsePushButton(wxString phrase, wxString varname); - bool Seperator(int ch); + bool Separator(int ch); void ParseGroupBox(wxString phrase, wxString varname); bool ReadRect(int & x, int & y, int & width, int & height); - wxString GetToken(bool *listseperator = 0); + wxString GetToken(bool *listseparator = 0); wxString GetQuoteField(); wxString GetStringQuote(); void ReadChar(int &ch); @@ -87,7 +87,7 @@ protected: wxList * m_resourcelist; wxFile m_rc; wxFFile m_xmlfile; - int m_filesize; + wxFileOffset m_filesize; bool m_done; };