X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7615330240c8682b86f46acbb2b64d9db3e99aef..42e69d6b435a4dd5415caf3750db62cf45b6f373:/include/wx/helpbase.h 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;