helpxxxx.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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
  6. // Modified by:
  7. // Created: 1998-01-01
  8. // Copyright: (c) Stefan Csomor
  9. // Licence: wxWindows licence
  10. /////////////////////////////////////////////////////////////////////////////
  11. #ifndef _WX_HELPXXXX_H_
  12. #define _WX_HELPXXXX_H_
  13. #include "wx/wx.h"
  14. #include "wx/helpbase.h"
  15. class WXDLLIMPEXP_CORE wxXXXXHelpController: public wxHelpControllerBase
  16. {
  17. DECLARE_CLASS(wxXXXXHelpController)
  18. public:
  19. wxXXXXHelpController();
  20. virtual ~wxXXXXHelpController();
  21. // Must call this to set the filename and server name
  22. virtual bool Initialize(const wxString& file);
  23. // If file is "", reloads file given in Initialize
  24. virtual bool LoadFile(const wxString& file = "");
  25. virtual bool DisplayContents();
  26. virtual bool DisplaySection(int sectionNo);
  27. virtual bool DisplayBlock(long blockNo);
  28. virtual bool KeywordSearch(const wxString& k,
  29. wxHelpSearchMode mode = wxHELP_SEARCH_ALL);
  30. virtual bool Quit();
  31. virtual void OnQuit();
  32. inline wxString GetHelpFile() const { return m_helpFile; }
  33. protected:
  34. wxString m_helpFile;
  35. };
  36. #endif
  37. // _WX_HELPXXXX_H_