X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7615330240c8682b86f46acbb2b64d9db3e99aef..85d10d9bbb92b967eea4d2307ce4956aff5e6f46:/include/wx/helpbase.h?ds=sidebyside diff --git a/include/wx/helpbase.h b/include/wx/helpbase.h index 830925e80d..b93771f806 100644 --- a/include/wx/helpbase.h +++ b/include/wx/helpbase.h @@ -20,6 +20,9 @@ #if wxUSE_HELP +// Flags for SetViewer +#define wxHELP_NETSCAPE 1 + // Defines the API for help controllers class WXDLLEXPORT wxHelpControllerBase: public wxObject { @@ -35,6 +38,9 @@ class WXDLLEXPORT wxHelpControllerBase: public wxObject virtual bool Initialize(const wxString& WXUNUSED(file), int WXUNUSED(server) ) { return FALSE; }; virtual bool Initialize(const wxString& file) = 0; + // Set viewer: only relevant to some kinds of controller + virtual void SetViewer(const wxString& WXUNUSED(viewer), long WXUNUSED(flags) = 0) {} + // If file is "", reloads file given in Initialize virtual bool LoadFile(const wxString& file = "") = 0; virtual bool DisplayContents(void) = 0;