]>
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 | 12 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) |
e9576ca5 SC |
13 | #pragma implementation "helpxxxx.h" |
14 | #endif | |
15 | ||
3d1a4878 SC |
16 | #include "wx/wxprec.h" |
17 | ||
e9576ca5 SC |
18 | #include "wx/stubs/helpxxxx.h" |
19 | ||
20 | #include <string.h> | |
21 | ||
2f1ae414 | 22 | #if !USE_SHARED_LIBRARY |
e9576ca5 | 23 | IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase) |
2f1ae414 | 24 | #endif |
e9576ca5 SC |
25 | |
26 | wxXXXXHelpController::wxXXXXHelpController() | |
27 | { | |
28 | m_helpFile = ""; | |
29 | } | |
30 | ||
31 | wxXXXXHelpController::~wxXXXXHelpController() | |
32 | { | |
33 | } | |
34 | ||
35 | bool wxXXXXHelpController::Initialize(const wxString& filename) | |
36 | { | |
37 | m_helpFile = filename; | |
38 | // TODO any other inits | |
39 | return TRUE; | |
40 | } | |
41 | ||
42 | bool wxXXXXHelpController::LoadFile(const wxString& file) | |
43 | { | |
44 | m_helpFile = file; | |
45 | // TODO | |
46 | return TRUE; | |
47 | } | |
48 | ||
49 | bool wxXXXXHelpController::DisplayContents() | |
50 | { | |
51 | // TODO | |
e40298d5 | 52 | return FALSE; |
e9576ca5 SC |
53 | } |
54 | ||
55 | bool wxXXXXHelpController::DisplaySection(int section) | |
56 | { | |
57 | // TODO | |
58 | return FALSE; | |
59 | } | |
60 | ||
61 | bool wxXXXXHelpController::DisplayBlock(long block) | |
62 | { | |
63 | // TODO | |
64 | return FALSE; | |
65 | } | |
66 | ||
69b5cec2 VS |
67 | bool wxXXXXHelpController::KeywordSearch(const wxString& k, |
68 | wxHelpSearchMode WXUNUSED(mode)) | |
e9576ca5 SC |
69 | { |
70 | if (m_helpFile == "") return FALSE; | |
71 | ||
72 | // TODO | |
73 | return FALSE; | |
74 | } | |
75 | ||
76 | // Can't close the help window explicitly in WinHelp | |
77 | bool wxXXXXHelpController::Quit() | |
78 | { | |
79 | // TODO | |
80 | return FALSE; | |
81 | } | |
82 | ||
83 | void wxXXXXHelpController::OnQuit() | |
84 | { | |
85 | } | |
86 |