1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Help system: WinHelp implementation
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_HELPWIN_H_
13 #define _WX_HELPWIN_H_
16 #pragma interface "helpwin.h"
23 #include "wx/helpbase.h"
25 class WXDLLEXPORT wxWinHelpController
: public wxHelpControllerBase
27 DECLARE_CLASS(wxWinHelpController
)
30 wxWinHelpController(void);
31 ~wxWinHelpController(void);
33 // Must call this to set the filename and server name
34 virtual bool Initialize(const wxString
& file
);
36 // If file is "", reloads file given in Initialize
37 virtual bool LoadFile(const wxString
& file
= "");
38 virtual bool DisplayContents(void);
39 virtual bool DisplaySection(int sectionNo
);
40 virtual bool DisplayBlock(long blockNo
);
41 virtual bool KeywordSearch(const wxString
& k
);
43 virtual bool Quit(void);
44 virtual void OnQuit(void);
46 inline wxString
GetHelpFile(void) const { return m_helpFile
; }