1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/wince/helpwce.h
3 // Purpose: Help system: Windows CE help implementation
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_HELPWCE_H_
12 #define _WX_HELPWCE_H_
16 #include "wx/helpbase.h"
18 class WXDLLIMPEXP_CORE wxWinceHelpController
: public wxHelpControllerBase
21 wxWinceHelpController(wxWindow
* parentWindow
= NULL
): wxHelpControllerBase(parentWindow
) {}
22 virtual ~wxWinceHelpController() {}
24 // Must call this to set the filename
25 virtual bool Initialize(const wxString
& file
);
27 // If file is "", reloads file given in Initialize
28 virtual bool LoadFile(const wxString
& file
= wxEmptyString
);
29 virtual bool DisplayContents();
30 virtual bool DisplaySection(int sectionNo
);
31 virtual bool DisplaySection(const wxString
& section
);
32 virtual bool DisplayBlock(long blockNo
);
33 virtual bool DisplayContextPopup(int contextId
);
34 virtual bool DisplayTextPopup(const wxString
& text
, const wxPoint
& pos
);
35 virtual bool KeywordSearch(const wxString
& k
,
36 wxHelpSearchMode mode
= wxHELP_SEARCH_ALL
);
39 wxString
GetHelpFile() const { return m_helpFile
; }
42 // Append extension if necessary.
43 wxString
GetValidFilename(const wxString
& file
) const;
45 // View topic, or just the HTML file
46 bool ViewURL(const wxString
& topic
= wxEmptyString
);
51 DECLARE_CLASS(wxWinceHelpController
)
54 #endif // wxUSE_MS_HTML_HELP