X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b21409b36057d8281675973a7c3a1d77d9c0ddb..b5a7cdc076ec7a35990b2da37a4b7b81a9cc8f85:/include/wx/html/helpdata.h?ds=sidebyside diff --git a/include/wx/html/helpdata.h b/include/wx/html/helpdata.h index 640747f84a..0780cac6b0 100644 --- a/include/wx/html/helpdata.h +++ b/include/wx/html/helpdata.h @@ -32,18 +32,20 @@ class WXDLLEXPORT wxHtmlHelpData; // helper classes & structs //-------------------------------------------------------------------------------- -class WXDLLEXPORT wxHtmlBookRecord : public wxObject +class WXDLLEXPORT wxHtmlBookRecord { public: - wxHtmlBookRecord(const wxString& basepath, const wxString& title, - const wxString& start) + wxHtmlBookRecord(const wxString& bookfile, const wxString& basepath, + const wxString& title, const wxString& start) { + m_BookFile = bookfile; m_BasePath = basepath; m_Title = title; m_Start = start; // for debugging, give the contents index obvious default values m_ContentsStart = m_ContentsEnd = -1; } + wxString GetBookFile() const { return m_BookFile; } wxString GetTitle() const { return m_Title; } wxString GetStart() const { return m_Start; } wxString GetBasePath() const { return m_BasePath; } @@ -66,6 +68,7 @@ public: wxString GetFullPath(const wxString &page) const; protected: + wxString m_BookFile; wxString m_BasePath; wxString m_Title; wxString m_Start; @@ -171,7 +174,6 @@ public: const wxString& deftopic = wxEmptyString, const wxString& path = wxEmptyString); - bool AlreadyHasBook(wxHtmlBookRecord * bookr) ; // Some accessing stuff: // returns URL of page on basis of (file)name