This class implements help via an external browser
This class implements help via an external browser. It requires the name of a directory containing the documentation and a file mapping numerical Section numbers to relative URLS.The map file contains two or three fields per line: numeric_id relative_URL [; comment/documentation]
The numeric_id is the id used to look up the entry in DisplaySection()/DisplayBlock(). The relative_URL is a filename of an html file, relative to the help directory. The optional comment/documentation field (after a ';') is used for keyword searches, so some meaningful text here does not hurt. If the documentation itself contains a ';', only the part before that will be displayed in the listbox, but all of it used for search.
Lines starting with ';' will be ignored.
This confuses DOC++, so I leave it out for now: ifdef USE_HELP: public wxHelpControllerBase { DECLARE_CLASS(wxExtHelpController) else{ endif
virtual bool Initialize(const wxString& file)
virtual bool LoadFile(const wxString& file = "")
virtual bool DisplayContents(void)
virtual bool DisplaySection(int sectionNo)
virtual bool DisplayBlock(long blockNo)
virtual bool KeywordSearch(const wxString& k)
virtual bool Quit(void)
virtual void OnQuit(void)
void SetBrowser(wxString const & browsername = WXEXTHELP_DEFAULTBROWSER, bool isNetscape = WXEXTHELP_DEFAULTBROWSER_IS_NETSCAPE)
isNetscape - Set this to TRUE if the browser is some variant of Netscape. wxString m_MapFile
int m_NumOfEntries
wxExtHelpMapList* m_MapList
wxString m_BrowserName
bool m_BrowserIsNetscape
bool CallBrowser(wxString const &)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de