1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/helpxxxx.h
3 // Purpose: Help system: native implementation for your system. Replace
4 // XXXX with suitable name.
5 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_HELPXXXX_H_
13 #define _WX_HELPXXXX_H_
17 #include "wx/helpbase.h"
19 class WXDLLIMPEXP_CORE wxXXXXHelpController
: public wxHelpControllerBase
21 DECLARE_CLASS(wxXXXXHelpController
)
24 wxXXXXHelpController();
25 virtual ~wxXXXXHelpController();
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
,
36 wxHelpSearchMode mode
= wxHELP_SEARCH_ALL
);
39 virtual void OnQuit();
41 inline wxString
GetHelpFile() const { return m_helpFile
; }