1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Help system: native implementation for your system. Replace
4 // XXXX with suitable name.
5 // Author: Stefan Csomor
9 // Copyright: (c) Stefan Csomor
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_HELPXXXX_H_
14 #define _WX_HELPXXXX_H_
18 #include "wx/helpbase.h"
20 class WXDLLEXPORT wxXXXXHelpController
: public wxHelpControllerBase
22 DECLARE_CLASS(wxXXXXHelpController
)
25 wxXXXXHelpController();
26 ~wxXXXXHelpController();
28 // Must call this to set the filename and server name
29 virtual bool Initialize(const wxString
& file
);
31 // If file is "", reloads file given in Initialize
32 virtual bool LoadFile(const wxString
& file
= "");
33 virtual bool DisplayContents();
34 virtual bool DisplaySection(int sectionNo
);
35 virtual bool DisplayBlock(long blockNo
);
36 virtual bool KeywordSearch(const wxString
& k
,
37 wxHelpSearchMode mode
= wxHELP_SEARCH_ALL
);
40 virtual void OnQuit();
42 inline wxString
GetHelpFile() const { return m_helpFile
; }