// Purpose: interface of wxHelpController
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+/**
+ Help search modes for wxHelpController::KeywordSearch().
+ */
+enum wxHelpSearchMode
+{
+ wxHELP_SEARCH_INDEX, ///< Search the index only.
+ wxHELP_SEARCH_ALL ///< Search all entries.
+};
+
/**
@class wxHelpController
@param newFrameEachTime
@true if a new frame is drawn with each invocation.
*/
- virtual wxFrame* GetFrameParameters(const wxSize* size = NULL,
- const wxPoint* pos = NULL,
+ virtual wxFrame* GetFrameParameters(wxSize* size = NULL,
+ wxPoint* pos = NULL,
bool* newFrameEachTime = NULL);
/**
/**
If the help viewer is not running, runs it, and searches for sections matching
the given keyword. If one match is found, the file is displayed at this section.
- The optional parameter allows the search the index (wxHELP_SEARCH_INDEX)
- but this currently only supported by the wxHtmlHelpController.
+ The optional parameter allows to search the index (wxHELP_SEARCH_INDEX)
+ but this currently is only supported by the wxHtmlHelpController.
- @e WinHelp, MS HTML Help:
If more than one match is found, the first topic is displayed.
virtual bool LoadFile(const wxString& file = wxEmptyString);
/**
- Overrideable member called when this application's viewer is quit by the user.
+ Overridable member called when this application's viewer is quit by the user.
This does not work for all help controllers.
*/
- virtual bool OnQuit();
+ virtual void OnQuit();
/**
If the viewer is running, quits it by disconnecting.