]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/mac/carbon/helpxxxx.cpp
Quit application menu item needs special handling like the Preferences item. [ patch...
[wxWidgets.git] / src / mac / carbon / helpxxxx.cpp
... / ...
CommitLineData
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#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13#pragma implementation "helpxxxx.h"
14#endif
15
16#include "wx/wxprec.h"
17
18#include "wx/stubs/helpxxxx.h"
19
20#include <string.h>
21
22#if !USE_SHARED_LIBRARY
23IMPLEMENT_DYNAMIC_CLASS(wxXXXXHelpController, wxHelpControllerBase)
24#endif
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
52 return FALSE;
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
67bool wxXXXXHelpController::KeywordSearch(const wxString& k,
68 wxHelpSearchMode WXUNUSED(mode))
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