]>
Commit | Line | Data |
---|---|---|
e9576ca5 SC |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: helpxxxx.cpp | |
3 | // Purpose: Help system: native implementation | |
a31a5f85 | 4 | // Author: Stefan Csomor |
e9576ca5 | 5 | // Modified by: |
a31a5f85 | 6 | // Created: 1998-01-01 |
e9576ca5 | 7 | // RCS-ID: $Id$ |
a31a5f85 | 8 | // Copyright: (c) Stefan Csomor |
65571936 | 9 | // Licence: wxWindows licence |
e9576ca5 SC |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
3d1a4878 SC |
12 | #include "wx/wxprec.h" |
13 | ||
e9576ca5 SC |
14 | #include "wx/stubs/helpxxxx.h" |
15 | ||
16 | #include <string.h> | |
17 | ||
e9576ca5 | 18 | IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase) |
e9576ca5 SC |
19 | |
20 | wxXXXXHelpController::wxXXXXHelpController() | |
21 | { | |
22 | m_helpFile = ""; | |
23 | } | |
24 | ||
25 | wxXXXXHelpController::~wxXXXXHelpController() | |
26 | { | |
27 | } | |
28 | ||
29 | bool wxXXXXHelpController::Initialize(const wxString& filename) | |
30 | { | |
31 | m_helpFile = filename; | |
32 | // TODO any other inits | |
33 | return TRUE; | |
34 | } | |
35 | ||
36 | bool wxXXXXHelpController::LoadFile(const wxString& file) | |
37 | { | |
38 | m_helpFile = file; | |
39 | // TODO | |
40 | return TRUE; | |
41 | } | |
42 | ||
43 | bool wxXXXXHelpController::DisplayContents() | |
44 | { | |
45 | // TODO | |
e40298d5 | 46 | return FALSE; |
e9576ca5 SC |
47 | } |
48 | ||
49 | bool wxXXXXHelpController::DisplaySection(int section) | |
50 | { | |
51 | // TODO | |
52 | return FALSE; | |
53 | } | |
54 | ||
55 | bool wxXXXXHelpController::DisplayBlock(long block) | |
56 | { | |
57 | // TODO | |
58 | return FALSE; | |
59 | } | |
60 | ||
69b5cec2 VS |
61 | bool wxXXXXHelpController::KeywordSearch(const wxString& k, |
62 | wxHelpSearchMode WXUNUSED(mode)) | |
e9576ca5 SC |
63 | { |
64 | if (m_helpFile == "") return FALSE; | |
65 | ||
66 | // TODO | |
67 | return FALSE; | |
68 | } | |
69 | ||
70 | // Can't close the help window explicitly in WinHelp | |
71 | bool wxXXXXHelpController::Quit() | |
72 | { | |
73 | // TODO | |
74 | return FALSE; | |
75 | } | |
76 | ||
77 | void wxXXXXHelpController::OnQuit() | |
78 | { | |
79 | } | |
80 |