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