]> git.saurik.com Git - wxWidgets.git/blame - src/mac/carbon/helpxxxx.cpp
must be static of course, otherwise items just get appended for every menu-build
[wxWidgets.git] / src / mac / carbon / 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
65571936 9// Licence: wxWindows licence
e9576ca5
SC
10/////////////////////////////////////////////////////////////////////////////
11
3d1a4878 12#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
e9576ca5
SC
13#pragma implementation "helpxxxx.h"
14#endif
15
3d1a4878
SC
16#include "wx/wxprec.h"
17
e9576ca5
SC
18#include "wx/stubs/helpxxxx.h"
19
20#include <string.h>
21
2f1ae414 22#if !USE_SHARED_LIBRARY
e9576ca5 23IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
2f1ae414 24#endif
e9576ca5
SC
25
26wxXXXXHelpController::wxXXXXHelpController()
27{
28 m_helpFile = "";
29}
30
31wxXXXXHelpController::~wxXXXXHelpController()
32{
33}
34
35bool wxXXXXHelpController::Initialize(const wxString& filename)
36{
37 m_helpFile = filename;
38 // TODO any other inits
39 return TRUE;
40}
41
42bool wxXXXXHelpController::LoadFile(const wxString& file)
43{
44 m_helpFile = file;
45 // TODO
46 return TRUE;
47}
48
49bool wxXXXXHelpController::DisplayContents()
50{
51 // TODO
e40298d5 52 return FALSE;
e9576ca5
SC
53}
54
55bool wxXXXXHelpController::DisplaySection(int section)
56{
57 // TODO
58 return FALSE;
59}
60
61bool wxXXXXHelpController::DisplayBlock(long block)
62{
63 // TODO
64 return FALSE;
65}
66
69b5cec2
VS
67bool wxXXXXHelpController::KeywordSearch(const wxString& k,
68 wxHelpSearchMode WXUNUSED(mode))
e9576ca5
SC
69{
70 if (m_helpFile == "") return FALSE;
71
72 // TODO
73 return FALSE;
74}
75
76// Can't close the help window explicitly in WinHelp
77bool wxXXXXHelpController::Quit()
78{
79 // TODO
80 return FALSE;
81}
82
83void wxXXXXHelpController::OnQuit()
84{
85}
86