1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Help system: native implementation for your system.
4 // Author: David Webster
8 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_HELPWIN_H_
13 #define _WX_HELPWIN_H_
17 #include "wx/helpbase.h"
19 class WXDLLEXPORT wxWinHelpController
: public wxHelpControllerBase
21 DECLARE_CLASS(wxWinHelpController
)
24 wxWinHelpController();
25 ~wxWinHelpController();
27 // Must call this to set the filename and server name
28 virtual bool Initialize(const wxString
& file
);
30 // If file is "", reloads file given in Initialize
31 virtual bool LoadFile(const wxString
& file
= "");
32 virtual bool DisplayContents();
33 virtual bool DisplaySection(int sectionNo
);
34 virtual bool DisplayBlock(long blockNo
);
35 virtual bool KeywordSearch(const wxString
& k
);
38 virtual void OnQuit();
40 inline wxString
GetHelpFile() const { return m_helpFile
; }
45 // virtual function hiding supression :: do not use
46 bool Initialize(const wxString
& file
, int WXUNUSED(server
) ) { return(Initialize(file
)); }