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_
16 #if defined(__GNUG__) && !defined(__APPLE__)
17 #pragma interface "helpxxxx.h"
22 #include "wx/helpbase.h"
24 class WXDLLEXPORT wxXXXXHelpController
: public wxHelpControllerBase
26 DECLARE_CLASS(wxXXXXHelpController
)
29 wxXXXXHelpController();
30 ~wxXXXXHelpController();
32 // Must call this to set the filename and server name
33 virtual bool Initialize(const wxString
& file
);
35 // If file is "", reloads file given in Initialize
36 virtual bool LoadFile(const wxString
& file
= "");
37 virtual bool DisplayContents();
38 virtual bool DisplaySection(int sectionNo
);
39 virtual bool DisplayBlock(long blockNo
);
40 virtual bool KeywordSearch(const wxString
& k
);
43 virtual void OnQuit();
45 inline wxString
GetHelpFile() const { return m_helpFile
; }