]> git.saurik.com Git - wxWidgets.git/blame - src/motif/helpxxxx.cpp
Made wxContextHelp implementation generic and added wxFindWindowAtPointer,
[wxWidgets.git] / src / motif / helpxxxx.cpp
CommitLineData
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 20IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
4bb6408c
JS
21
22wxXXXXHelpController::wxXXXXHelpController()
23{
24 m_helpFile = "";
25}
26
27wxXXXXHelpController::~wxXXXXHelpController()
28{
29}
30
31bool wxXXXXHelpController::Initialize(const wxString& filename)
32{
33 m_helpFile = filename;
34 // TODO any other inits
35 return TRUE;
36}
37
38bool wxXXXXHelpController::LoadFile(const wxString& file)
39{
40 m_helpFile = file;
41 // TODO
42 return TRUE;
43}
44
45bool wxXXXXHelpController::DisplayContents()
46{
47 // TODO
48 return FALSE;
49}
50
51bool wxXXXXHelpController::DisplaySection(int section)
52{
53 // TODO
54 return FALSE;
55}
56
57bool wxXXXXHelpController::DisplayBlock(long block)
58{
59 // TODO
60 return FALSE;
61}
62
63bool 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
72bool wxXXXXHelpController::Quit()
73{
74 // TODO
75 return FALSE;
76}
77
78void wxXXXXHelpController::OnQuit()
79{
80}
81