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