Changes for recent htmlhelp updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-03-08 23:05:27 +00:00
parent 7248a051ef
commit ff42dd6650
3 changed files with 318 additions and 10 deletions

View File

@@ -42,11 +42,12 @@
//---------------------------------------------------------------------------
class wxHtmlBookRecord {
class wxHtmlBookRecord : public wxObject {
public:
wxHtmlBookRecord(const wxString& basepath, const wxString& title,
const wxString& start);
wxHtmlBookRecord(const wxString& bookfile, const wxString& basepath,
const wxString& title, const wxString& start);
wxString GetBookFile();
wxString GetTitle();
wxString GetStart();
wxString GetBasePath();
@@ -54,18 +55,24 @@ public:
void SetContentsRange(int start, int end);
int GetContentsStart();
int GetContentsEnd();
void SetTitle(const wxString& title);
void SetBasePath(const wxString& path);
void SetStart(const wxString& start);
wxString GetFullPath(const wxString &page) const;
};
//---------------------------------------------------------------------------
typedef struct
struct wxHtmlContentsItem
{
short int m_Level;
int m_ID;
char* m_Name;
char* m_Page;
wxHtmlBookRecord *m_Book;
} wxHtmlContentsItem;
};
//---------------------------------------------------------------------------