]> git.saurik.com Git - wxWidgets.git/blame - src/mac/helpxxxx.cpp
implementation changes to closer follow MSW, crashes fixed
[wxWidgets.git] / src / mac / helpxxxx.cpp
CommitLineData
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
e40298d5 9// Licence: wxWindows licence
e9576ca5
SC
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
2f1ae414 20#if !USE_SHARED_LIBRARY
e9576ca5 21IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
2f1ae414 22#endif
e9576ca5
SC
23
24wxXXXXHelpController::wxXXXXHelpController()
25{
26 m_helpFile = "";
27}
28
29wxXXXXHelpController::~wxXXXXHelpController()
30{
31}
32
33bool wxXXXXHelpController::Initialize(const wxString& filename)
34{
35 m_helpFile = filename;
36 // TODO any other inits
37 return TRUE;
38}
39
40bool wxXXXXHelpController::LoadFile(const wxString& file)
41{
42 m_helpFile = file;
43 // TODO
44 return TRUE;
45}
46
47bool wxXXXXHelpController::DisplayContents()
48{
49 // TODO
e40298d5 50 return FALSE;
e9576ca5
SC
51}
52
53bool wxXXXXHelpController::DisplaySection(int section)
54{
55 // TODO
56 return FALSE;
57}
58
59bool wxXXXXHelpController::DisplayBlock(long block)
60{
61 // TODO
62 return FALSE;
63}
64
65bool wxXXXXHelpController::KeywordSearch(const wxString& k)
66{
67 if (m_helpFile == "") return FALSE;
68
69 // TODO
70 return FALSE;
71}
72
73// Can't close the help window explicitly in WinHelp
74bool wxXXXXHelpController::Quit()
75{
76 // TODO
77 return FALSE;
78}
79
80void wxXXXXHelpController::OnQuit()
81{
82}
83