X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c497114770d3adf5dd1600c9a6266dc7d02ae56d..5b315dd00026936ce5e3320583be263d9c4425bc:/include/wx/html/helpdata.h diff --git a/include/wx/html/helpdata.h b/include/wx/html/helpdata.h index 5593fa72c9..906d12b13b 100644 --- a/include/wx/html/helpdata.h +++ b/include/wx/html/helpdata.h @@ -24,6 +24,7 @@ #include "wx/string.h" #include "wx/filesys.h" #include "wx/dynarray.h" +#include "wx/font.h" //-------------------------------------------------------------------------------- // helper classes & structs @@ -124,14 +125,14 @@ class WXDLLEXPORT wxHtmlSearchStatus private: wxHtmlHelpData* m_Data; wxSearchEngine m_Engine; - wxString m_Keyword, m_Name, m_LastPage; + wxString m_Keyword, m_Name; + wxChar *m_LastPage; wxHtmlContentsItem* m_ContentsItem; - bool m_Active; // search is not finished + bool m_Active; // search is not finished int m_CurIndex; // where we are now int m_MaxIndex; // number of files we search // For progress bar: 100*curindex/maxindex = % complete -} -; +}; class WXDLLEXPORT wxHtmlHelpData : public wxObject { @@ -152,7 +153,9 @@ class WXDLLEXPORT wxHtmlHelpData : public wxObject // Adds new book. 'book' is location of .htb file (stands for "html book"). // See documentation for details on its format. // Returns success. - bool AddBookParam(const wxString& title, const wxString& contfile, + bool AddBookParam(const wxFSFile& bookfile, + wxFontEncoding encoding, + const wxString& title, const wxString& contfile, const wxString& indexfile = wxEmptyString, const wxString& deftopic = wxEmptyString, const wxString& path = wxEmptyString); @@ -189,8 +192,7 @@ class WXDLLEXPORT wxHtmlHelpData : public wxObject // Reads binary book bool SaveCachedBook(wxHtmlBookRecord *book, wxOutputStream *f); // Writes binary book -} -; +}; #endif