#ifndef _WX_HELPDATA_H_
#define _WX_HELPDATA_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "helpdata.h"
#endif
// 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; }
wxString GetFullPath(const wxString &page) const;
protected:
+ wxString m_BookFile;
wxString m_BasePath;
wxString m_Title;
wxString m_Start;