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